mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
Added test pass check to end of main() to improve readability on successful test
This commit is contained in:
@@ -134,14 +134,15 @@ def main():
|
||||
print(ip_test.get_fail_message())
|
||||
exit(1)
|
||||
ip_test.start()
|
||||
print("Full Test Passed: %s" % ip_test.run_test(ip_test.sta_list))
|
||||
ip_test.run_test(ip_test.sta_list)
|
||||
ip_test.stop()
|
||||
if not ip_test.passes():
|
||||
print(ip_test.get_fail_message())
|
||||
exit(1)
|
||||
time.sleep(30)
|
||||
ip_test.cleanup(1)
|
||||
|
||||
if ip_test.passes():
|
||||
print("Full test passed, all stations associated and got IP")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user