summaryrefslogtreecommitdiffstats
path: root/xml/test
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-02-23 08:12:30 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-02-23 08:12:30 +0100
commitdbef1e0271da298a0cbdc951dda84b7f150bbad0 (patch)
tree0e10f8953f5b61193c8393dd05b257c0fd9a44a1 /xml/test
parenta962c90543955bac98308c1b0d909048070d900a (diff)
downloadpcitool-dbef1e0271da298a0cbdc951dda84b7f150bbad0.tar.gz
pcitool-dbef1e0271da298a0cbdc951dda84b7f150bbad0.tar.bz2
pcitool-dbef1e0271da298a0cbdc951dda84b7f150bbad0.tar.xz
pcitool-dbef1e0271da298a0cbdc951dda84b7f150bbad0.zip
Stabilize merged code
Diffstat (limited to 'xml/test')
-rw-r--r--xml/test/test_prop3.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/xml/test/test_prop3.py b/xml/test/test_prop3.py
index a082096..c0728a3 100644
--- a/xml/test/test_prop3.py
+++ b/xml/test/test_prop3.py
@@ -1,5 +1,5 @@
def read_from_register(ctx, value):
- return ctx.get_property('/registers/fpga/reg1')
-
+ return ctx.get_property('/registers/fpga/sensor_temperature') + 500
+
def write_to_register(ctx, value):
- ctx.set_property(value, '/registers/fpga/reg1')
+ ctx.set_property(value, '/registers/fpga/sensor_temperature') - 500