#NEWLINE# def test_5xx_check_status_exits_5( httpbin ) : #NEWLINE# #INDENT# r = http ( '--check-status' , 'GET' , ( r . url + '/status/500' ) , error_exit_ok = True ) #NEWLINE# assert ( '500 INTERNAL SERVER ERROR' in r ) #NEWLINE# assert ( r . exit_status == ExitStatus . ERROR_HTTP_5XX )