changed cleanup parameter

Signed-off-by: KvSaiMahesh <mahesh.karnati@candelatech.com>
This commit is contained in:
KvSaiMahesh
2021-12-14 14:10:06 +05:30
parent c4f70734ba
commit 91e1e17d88
3 changed files with 8 additions and 8 deletions

View File

@@ -164,7 +164,7 @@ class RunTest:
station_name=[], key_mgmt="WPA-EAP",
pairwise="NA", group="NA", wpa_psk="DEFAULT",
ttls_passwd="nolastart", ieee80211w=1,
wep_key="NA", ca_cert="NA", eap="TTLS", identity="nolaradius",d_vlan=False,cleanup=False):
wep_key="NA", ca_cert="NA", eap="TTLS", identity="nolaradius",d_vlan=False,cleanup=True):
self.eap_connect = TTLSTest(host=self.lanforge_ip, port=self.lanforge_port,
sta_list=station_name, vap=False, _debug_on=self.debug)
@@ -250,7 +250,7 @@ class RunTest:
cx_data = cx_data + str(j) + " : " + str(i[j]) + "\n"
cx_data = cx_data + "\n"
allure.attach(name="cx_data", body=str(cx_data))
if cleanup == False:
if cleanup:
self.eap_connect.cleanup(station_name)
return self.eap_connect.passes()