mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						shivam
					
				
			
			
				
	
			
			
			
						parent
						
							bf0570fcf1
						
					
				
				
					commit
					fb46a2ea64
				
			@@ -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__":
 | 
			
		||||
 
 | 
			
		||||
@@ -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()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user