From db403ed05b881b5a7aa5e88e84339ad2a12e6e52 Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Tue, 16 Nov 2021 11:03:34 -0800 Subject: [PATCH] Sta_connect_multi_example: Remove invalid comparisons Signed-off-by: Matthew Stidham --- py-scripts/sta_connect_multi_example.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/py-scripts/sta_connect_multi_example.py b/py-scripts/sta_connect_multi_example.py index 0e76de54..999c9187 100755 --- a/py-scripts/sta_connect_multi_example.py +++ b/py-scripts/sta_connect_multi_example.py @@ -64,7 +64,7 @@ Example of how to instantiate StaConnect and run the test print("** endp: "+endp_name) pprint.pprint(test.resulting_endpoints[endp_name]) ''' - if is_passing == False: + if not is_passing: # run_results = staConnect.get_failed_result_list() fail_message = test.get_fail_message() print("Some tests failed:\n" + fail_message) @@ -78,7 +78,7 @@ Example of how to instantiate StaConnect and run the test test.dut_passwd = "jedway-wpa2-x2048-5-1" test.run() is_passing = test.passes() - if is_passing == False: + if not is_passing: # run_results = staConnect.get_failed_result_list() fail_message = test.get_fail_message() print("Some tests failed:\n" + fail_message) @@ -86,7 +86,7 @@ Example of how to instantiate StaConnect and run the test else: print("Tests pass") - if test.cleanup_on_exit == True: + if test.cleanup_on_exit: test.remove_stations()