#NEWLINE# def test_request_with_optional_params_with_data( self ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'oauth_callback' : 'http://example.com/callback' , #NEWLINE# #UNINDENT# } #NEWLINE# r = self . session . request ( 'POST' , 'http://example.com/' , data = data ) #NEWLINE# self . assert_ok ( r )