#NEWLINE# def test_basic_auth_me_wrong_password( self ) : #NEWLINE# #INDENT# url = '/{}users/{}/' . format ( API_BASE , 'me' ) #NEWLINE# res = self . app . get ( url , auth = ( self . user . username , 'nottherightone' ) , expect_errors = True ) #NEWLINE# assert_equal ( res . status_code , 401 )