summaryrefslogtreecommitdiffstats
path: root/xml
diff options
context:
space:
mode:
Diffstat (limited to 'xml')
-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