mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 11:48:03 +00:00
@@ -416,7 +416,7 @@ class LFCliBase:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
#EXIT script with a fail
|
#EXIT script with a fail
|
||||||
def exit_fail(self,message="%d out of %d tests failed. Exiting script with script failure."):
|
def exit_fail(self, message="%d out of %d tests failed. Exiting script with script failure."):
|
||||||
total_len=len(self.get_result_list())
|
total_len=len(self.get_result_list())
|
||||||
fail_len=len(self.get_failed_result_list())
|
fail_len=len(self.get_failed_result_list())
|
||||||
print(message %(fail_len,total_len))
|
print(message %(fail_len,total_len))
|
||||||
|
|||||||
Reference in New Issue
Block a user