test_l4.py : updated to ip_test.exit_fail()

test_l3.py : added exit_fail(), exit_success()

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2022-04-05 09:36:15 -06:00
committed by shivam
parent bf0570fcf1
commit fb46a2ea64
2 changed files with 3 additions and 3 deletions

View File

@@ -2057,9 +2057,9 @@ Setting wifi_settings per radio
report.write_pdf_with_timestamp(_page_size='A4', _orientation='Landscape')
if test_passed:
exit(0)
ip_var_test.exit_success()
else:
exit(1)
ip_var_test.exit_fail()
if __name__ == "__main__":

View File

@@ -718,7 +718,7 @@ Generic command example:
if not is_passing:
logger.info(ip_test.get_fail_message())
ip_test.cx_profile.exit_fail()
ip_test.exit_fail()
if is_passing:
logger.info("Full test passed")
ip_test.exit_success()