#NEWLINE# def test_validate_signature( self ) : #NEWLINE# #INDENT# client = Client ( 'foo' , resource_owner_key = 'token' , resource_owner_secret = 'secret' , verifier = 'verfier' ) #NEWLINE# ( _ , headers , _ ) = client . sign ( ( self . uri + '/extra' ) ) #NEWLINE# ( h , b , s ) = self . endpoint . create_access_token_response ( self . uri , headers = headers ) #NEWLINE# self . assertEqual ( s , 401 )