Updated main method to make use of Realm's new cleanup methods before start of tests

This commit is contained in:
Logan Lipke
2020-07-10 12:02:41 -07:00
parent 2cadb84f4c
commit 747c905465
6 changed files with 19 additions and 6 deletions

View File

@@ -147,7 +147,9 @@ def main():
password="jedway-wpa2-x2048-4-4",
resource=1, security="open", test_duration="5m",
side_a_min_rate=256, side_b_min_rate=256)
ip_var_test.cleanup(station_list)
ip_var_test.local_realm.remove_all_stations(ip_var_test.resource)
ip_var_test.local_realm.remove_all_cxs()
ip_var_test.local_realm.remove_all_endps()
ip_var_test.build()
if not ip_var_test.passes():
print(ip_var_test.get_fail_message())