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

@@ -103,7 +103,9 @@ def main():
station_list = LFUtils.portNameSeries(prefix_="sta", start_id_=0, end_id_=1, padding_number_=10000)
ip_test = IPv4Test(lfjson_host, lfjson_port, ssid="jedway-wpa2-x2048-4-4", password="jedway-wpa2-x2048-4-4",
security="open", sta_list=station_list)
ip_test.cleanup(station_list)
ip_test.local_realm.remove_all_stations(ip_test.resource)
ip_test.local_realm.remove_all_cxs()
ip_test.local_realm.remove_all_endps()
ip_test.timeout = 60
ip_test.build()
if not ip_test.passes():