summaryrefslogtreecommitdiffstats
path: root/xml
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-03-01 16:42:48 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-03-01 16:42:48 +0100
commit9b947f32c3db96c3022afad401b1349205d22259 (patch)
tree1bc5fbc5c82752d1808a240964317c6813ad19c3 /xml
parent5d775d64bdec554b9842823bd1c46263210425fd (diff)
downloadpcitool-9b947f32c3db96c3022afad401b1349205d22259.tar.gz
pcitool-9b947f32c3db96c3022afad401b1349205d22259.tar.bz2
pcitool-9b947f32c3db96c3022afad401b1349205d22259.tar.xz
pcitool-9b947f32c3db96c3022afad401b1349205d22259.zip
1. api-serer:
- change multiprosessing work mechanism - add new pywrap functions handling 2. html-server: - now works through api-server
Diffstat (limited to 'xml')
-rw-r--r--xml/scripts/test_script.py2
-rw-r--r--xml/test/test_prop_mt.py2
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