diff options
Diffstat (limited to 'xml')
-rw-r--r-- | xml/scripts/test_script.py | 2 | ||||
-rw-r--r-- | xml/test/test_prop_mt.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/xml/scripts/test_script.py b/xml/scripts/test_script.py index 16e4adb..5363a94 100644 --- a/xml/scripts/test_script.py +++ b/xml/scripts/test_script.py @@ -1,4 +1,4 @@ description='this is a test script' def run(ctx, inpt): - return ctx.get_registers_list(); + return bytearray('111') diff --git a/xml/test/test_prop_mt.py b/xml/test/test_prop_mt.py index 3714597..a5e5fab 100644 --- a/xml/test/test_prop_mt.py +++ b/xml/test/test_prop_mt.py @@ -8,7 +8,7 @@ def read_from_register(ctx, value): cur = read_from_register.counter read_from_register.counter += 1 - for i in range (0, 60): + for i in range (0, 5): time.sleep(0.1) print cur out = ctx.get_property('/test/prop3') / 2 |