#NEWLINE# def test_call_method_with_positional_params( self ) : #NEWLINE# #INDENT# request = { #NEWLINE# #INDENT# 'jsonrpc' : '2.0' , #NEWLINE# 'method' : 'calc.add' , #NEWLINE# 'params' : [ 3 , 4 ] , #NEWLINE# 'id' : 1 , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . jrw . handle_data ( request ) #NEWLINE# self . assertEqual ( response [ 'result' ] , 7 )