#NEWLINE# def assert_status_equal( self , response , status_code_or_response ) : #NEWLINE# #INDENT# status_code = self . _get_status_code ( status_code_or_response ) #NEWLINE# self . assertEqual ( status_code_or_response . status_code , status_code , 'Response status code is {0}, expected {1}' . format ( response . status_code , status_code ) )