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/simple_send_eth0_3s1r/receiver.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 tests/simple_send_eth0_3s1r/receiver.py (limited to 'tests/simple_send_eth0_3s1r/receiver.py') diff --git a/tests/simple_send_eth0_3s1r/receiver.py b/tests/simple_send_eth0_3s1r/receiver.py deleted file mode 100644 index 4516d7a..0000000 --- a/tests/simple_send_eth0_3s1r/receiver.py +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env python - -def receive(node, n): - for i in range(0,n): - code, data=node.receive("eth0") - msg="Received: "+data if code == 0 else "Receive failed code="+str(code) - node.log(msg) - -def execute(api): - # Receive the first 3 send that should end at 3s - receive(api,3) - # Receive the first 3 send that should end at 7s - receive(api,3) - # Receive the first 3 send that should end at 12s - receive(api,3) - # Receive the first 3 send that should end at 18s - receive(api,3) - # Should ends at 23s - receive(api,1) -- cgit v1.2.3