diff options
Diffstat (limited to 'tests/api_send_eth0_1s1r/receiver.py')
| -rw-r--r-- | tests/api_send_eth0_1s1r/receiver.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/api_send_eth0_1s1r/receiver.py b/tests/api_send_eth0_1s1r/receiver.py index 96305bf..364c24c 100644 --- a/tests/api_send_eth0_1s1r/receiver.py +++ b/tests/api_send_eth0_1s1r/receiver.py @@ -17,4 +17,10 @@ def execute(api): code, data=api.receivet("eth0",1) msg="Received: "+data if code == 0 else "Receive failed code="+str(code) api.log(msg) - + ##### Ensure data is not receive turned off but communication is not cancel + api.turn_off() + api.wait(1) + api.turn_on() + code, data=api.receivet("eth0",1) + msg="Received: "+data if code == 0 else "Receive failed code="+str(code) + api.log(msg) |
