Closed fivesails closed 5 years ago
Thank you Scott,
both the GitHub Desktop and the command line show:
git commit -S -m "Signed-off-by: Erik Martens<fivesails@web.de>" "Script Examples/Python/testing_example.py"
Aborting commit due to empty commit message.
You got the signoff in this one... https://github.com/openhab-scripters/openhab-helper-libraries/pull/179/commits/b8da93888d2f78a0cea13dffb42cc354c902a871. You'd typically rebase to put all of the commits into one, but that can be difficult if you're not familiar with git, so I can just squash them before the merge. If at least one commit has a signoff, it will carry through in the squashed commit. So, we're all good... thank you!
VS Code has git built in, but also has some really nice git extensions. For a simple commit from the web, just make sure you've got the signed-off-by at the bottom of the commit message. If you forget, you'll need to use a local repo to amend the commit.
Fixes #177
core.items
areadd_item()
isoadd()
andremove_item()
isoremove()
.ValueError: when: "Item TestNumber1 received update" could not be parsed because Item "TestNumber1" is not in the ItemRegistry
I think, this error occurs because the @when decorator is expanded before the unit test creates the items. If the creation of the Trigger is delayed, the unit test runs fine on my system.Feel free to change.