diff --git a/tests/test_item.py b/tests/test_item.py old mode 100644 new mode 100755 index 3af62280dc..c2a34f28fb --- a/tests/test_item.py +++ b/tests/test_item.py @@ -449,7 +449,11 @@ def create_item(self, smarthome, parent, path, config): def item_fadejob(self, item, dest, step, delta): try: - lib.item.helpers.fadejob(item, dest, step, delta) + item._fadingdetails['dest'] = dest + item._fadingdetails['step'] = step + item._fadingdetails['delta'] = delta + item._fadingdetails['caller'] = 'test' + lib.item.helpers.fadejob(item) except: lib.item._fadejob(item, dest, step, delta) @@ -697,7 +701,7 @@ def test_item_jsondump(self): def test_item_types(self): """ - Tests for the list/dict handling in items + Tests for the list/dict handling in items """ if verbose: logger.warning('') @@ -786,4 +790,3 @@ def test_item_types(self): if __name__ == '__main__': unittest.main(verbosity=2) -