

def _servers_localhost_zones_example_com_(self, method, *args, **kwargs):
    if (method == 'GET'):
        body = self.fixtures.load('list_records.json')
    elif (method == 'PATCH'):
        body = ''
    elif (method == 'DELETE'):
        return (httplib.NO_CONTENT, '', self.base_headers, httplib.responses[httplib.NO_CONTENT])
    else:
        raise NotImplementedError(('Unexpected method: %s' % method))
    return (httplib.OK, body, self.base_headers, httplib.responses[httplib.OK])

dataset/ETHPy150Open apache/libcloud/libcloud/test/dns/test_powerdns.py PowerDNSMockHttp._servers_localhost_zones_example_com_/original