mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-04 12:48:00 +00:00
Improve return code for create_l3, sta_connect_example.
Add TODO for create_l3.py for future work. Signed-off-by: Ben Greear <greearb@candelatech.com>
This commit is contained in:
@@ -57,14 +57,11 @@ def main():
|
||||
staConnect.stop()
|
||||
# staConnect.finish()
|
||||
staConnect.cleanup()
|
||||
is_passing = staConnect.passes()
|
||||
if not is_passing:
|
||||
# run_results = staConnect.get_failed_result_list()
|
||||
fail_message = staConnect.get_fail_message()
|
||||
print("Some tests failed:\n" + fail_message)
|
||||
else:
|
||||
print("Tests pass")
|
||||
|
||||
if staConnect.passes():
|
||||
staConnect.exit_success()
|
||||
else:
|
||||
staConnect.exit_fail()
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
|
||||
Reference in New Issue
Block a user