#NEWLINE# def request( self , host , handler , request_body , verbose = 0 ) : #NEWLINE# #INDENT# self . verbose = 0 #NEWLINE# method = ET . XML ( request_body ) . find ( 'methodName' ) . text #NEWLINE# mock = SoftLayerMockHttp ( host , 80 ) #NEWLINE# mock . request ( 'POST' , ( '%s/%s' % ( handler , method ) ) ) #NEWLINE# resp = mock . getresponse ( ) #NEWLINE# return self . _parse_response ( resp . body , None )