mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 04:07:52 +00:00
sta_connect.py: Updated file with autopep8
This commit is contained in:
@@ -133,7 +133,6 @@ class StaConnect(Realm):
|
||||
else:
|
||||
self._fail("Not all ports disappeared")
|
||||
|
||||
|
||||
def num_associated(self, bssid):
|
||||
counter = 0
|
||||
# print("there are %d results" % len(self.station_results))
|
||||
@@ -559,14 +558,12 @@ Example:
|
||||
_dut_bssid=args.dut_bssid, _dut_ssid=args.ssid, _dut_security=args.security,
|
||||
_sta_name=["sta0000"])
|
||||
|
||||
|
||||
success, method = staConnect.run()
|
||||
if not success:
|
||||
print("FAIL: staConnect.run method failed at stage \"{method}\"".format(method=method))
|
||||
else:
|
||||
print("PASS: staConnect tests finished successfully")
|
||||
|
||||
|
||||
staConnect.get_result_list()
|
||||
staConnect.generate_report(test_rig=args.test_rig, test_tag=args.test_tag, dut_hw_version=args.dut_hw_version,
|
||||
dut_sw_version=args.dut_sw_version, dut_model_num=args.dut_model_num,
|
||||
|
||||
Reference in New Issue
Block a user