#NEWLINE# def test_user_api_call( self ) : #NEWLINE# #INDENT# logout_response = user_service_pb . CreateLogoutURLResponse ( ) #NEWLINE# logout_response . set_logout_url ( ( USER_LOGOUT_URL % urllib . quote ( 'http://machine:8080/crazy_logout' ) ) ) #NEWLINE# expected_remote_response = remote_api_pb . Response ( ) #NEWLINE# expected_remote_response . set_response ( logout_response . Encode ( ) ) #NEWLINE# logout_request = user_service_pb . CreateLogoutURLRequest ( ) #NEWLINE# logout_request . set_destination_url ( '/crazy_logout' ) #NEWLINE# self . _assert_remote_call ( expected_remote_response , expected_remote_response , 'user' , 'CreateLogoutURL' )