#NEWLINE# def test_get_authorize_url( self ) : #NEWLINE# #INDENT# self . response . content = 'oauth_token=foo&oauth_token_secret=bar' #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 ( url , expected_fmt . format ( self ) )