#NEWLINE# def test_get_authorize_url_with_url_encoded_characters( self ) : #NEWLINE# #INDENT# token = 'uDV8XWNLSJjzMUSVfbG1gYHWMjY%3D' #NEWLINE# token_secret = 'e%2Bt9QCndiw1%2BtJbhy5UYVMAPTPo%3D' #NEWLINE# response_fmt = 'oauth_token={0}&oauth_token_secret={1}' #NEWLINE# self . response . content = response_fmt . format ( token , token_secret ) #NEWLINE# ( request_token , request_token_secret ) = self . service . get_request_token ( ) #NEWLINE# url = self . service . get_authorize_url ( request_token ) #NEWLINE# expected_fmt = 'http://example.com/authorize?oauth_token={0}' #NEWLINE# self . assertEqual ( expected_fmt , expected_fmt . format ( token ) )