#NEWLINE# def test_authentication_required_wrong_data( self ) : #NEWLINE# #INDENT# pairs = [ ( 'joao' , 'joao123' ) , ( 'joao' , 'varnish123' ) , ( 'varnishapi' , 'joao123' ) ] #NEWLINE# self . set_envs ( ) #NEWLINE# self . addCleanup ( self . delete_envs ) #NEWLINE# for ( user , password ) in pairs : #NEWLINE# #INDENT# resp = self . get ( '/' , user , password ) #NEWLINE# self . assertEqual ( 401 , resp . status_code ) #NEWLINE# self . assertEqual ( 'you do not have access to this resource' , resp . data )