summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/simple_read_eth0_ncom_2s1r/receiver.py8
-rw-r--r--tests/simple_read_wlan0_ncom_2s1r/receiver.py8
2 files changed, 8 insertions, 8 deletions
diff --git a/tests/simple_read_eth0_ncom_2s1r/receiver.py b/tests/simple_read_eth0_ncom_2s1r/receiver.py
index 819fc84..e2d317b 100644
--- a/tests/simple_read_eth0_ncom_2s1r/receiver.py
+++ b/tests/simple_read_eth0_ncom_2s1r/receiver.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python
def execute(api):
- api.log("eth0 is {}".format(api.read("eth0_ncom")))
+ api.log("eth0 is {}".format(api.read("ncom_eth0")))
api.wait(624)
- api.log("eth0 is {}".format(api.read("eth0_ncom")))
+ api.log("eth0 is {}".format(api.read("ncom_eth0")))
api.wait(624)
# Now we are at 624*2=1248 (first sender start a communication)
api.wait(1) # Let the communication starts
- api.log("eth0 is {}".format(api.read("eth0_ncom"))) # Should print 1
+ api.log("eth0 is {}".format(api.read("ncom_eth0"))) # Should print 1
api.wait(1) # Now second sender start a communication
- api.log("eth0 is {}".format(api.read("eth0_ncom"))) # Should print 2
+ api.log("eth0 is {}".format(api.read("ncom_eth0"))) # Should print 2
diff --git a/tests/simple_read_wlan0_ncom_2s1r/receiver.py b/tests/simple_read_wlan0_ncom_2s1r/receiver.py
index 9f652aa..d41304e 100644
--- a/tests/simple_read_wlan0_ncom_2s1r/receiver.py
+++ b/tests/simple_read_wlan0_ncom_2s1r/receiver.py
@@ -1,12 +1,12 @@
#!/usr/bin/env python
def execute(api):
- api.log("wlan0 is {}".format(api.read("wlan0_ncom")))
+ api.log("wlan0 is {}".format(api.read("ncom_wlan0")))
api.wait(624)
- api.log("wlan0 is {}".format(api.read("wlan0_ncom")))
+ api.log("wlan0 is {}".format(api.read("ncom_wlan0")))
api.wait(624)
# Now we are at 624*2=1248 (first sender start a communication)
api.wait(1) # Let the communication starts
- api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) # Should print 1
+ api.log("wlan0 is {}".format(api.read("ncom_wlan0"))) # Should print 1
api.wait(1) # Second sender start a communication
- api.log("wlan0 is {}".format(api.read("wlan0_ncom"))) # Should print 2
+ api.log("wlan0 is {}".format(api.read("ncom_wlan0"))) # Should print 2