

def _xmlrpc(self, method, url, body, headers):
    (params, meth_name) = xmlrpclib.loads(body)
    url = url.replace('/', '_')
    meth_name = ('%s_%s' % (url, meth_name))
    return getattr(self, meth_name)(params, url, body, headers)

dataset/ETHPy150Open apache/libcloud/libcloud/test/loadbalancer/test_softlayer.py SoftLayerMockHttp._xmlrpc/VarMisuse@62/78 `method`->`params`