From 34aa90f9af0887bc6f9d3376e7a40f48acc66f90 Mon Sep 17 00:00:00 2001 From: Logan Lipke Date: Mon, 22 Jun 2020 16:57:24 -0700 Subject: [PATCH] Cleaned up run function --- py-scripts/test_ipv4_connection.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/py-scripts/test_ipv4_connection.py b/py-scripts/test_ipv4_connection.py index e370b81d..4d232ee4 100755 --- a/py-scripts/test_ipv4_connection.py +++ b/py-scripts/test_ipv4_connection.py @@ -71,9 +71,12 @@ class IPv4Test(LFCliBase): self.profile.use_wpa2(True, self.ssid, self.password) self.profile.set_prefix(self.prefix) + print("Creating stations") self.profile.create(resource=1, radio="wiphy0", num_stations=self.num_stations) + for sta_name in list(self.local_realm.find_ports_like("sta[%s..%s]" % (self.prefix[:-1], str(self.prefix[:-2]) + str(self.num_stations - 1)))): sta_list.append(self.local_realm.name_to_eid(sta_name)[2]) + print(sta_list) time.sleep(self.timeout) self.run_test(sta_list, True, True)