From d0ae9f329685a19136cfd9a890b305db3bc384b9 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Thu, 30 Jun 2022 12:11:59 +0200 Subject: Improve tests --- tests/api_read_eth0_ncom_2s1r/sender.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/api_read_eth0_ncom_2s1r/sender.py (limited to 'tests/api_read_eth0_ncom_2s1r/sender.py') diff --git a/tests/api_read_eth0_ncom_2s1r/sender.py b/tests/api_read_eth0_ncom_2s1r/sender.py new file mode 100644 index 0000000..e80db44 --- /dev/null +++ b/tests/api_read_eth0_ncom_2s1r/sender.py @@ -0,0 +1,9 @@ +#!/usr/bin/env python + +def execute(api): + api.wait(1248) # All communications start at t=1248s + if api.node_id==0: + api.send("eth0","hello",50,2) + else: + api.wait(1) # Second sender start 1s after the first + api.send("eth0","hello",50,2) -- cgit v1.2.3