This commit is contained in:
jjofseattle 2013-11-15 15:35:46 -08:00
commit 08777e4b18
3 changed files with 5 additions and 6 deletions

View file

@ -17,12 +17,14 @@ class FakeZone:
class FakeResourceRecordSet:
def __init__(self, name, type, ttl, rrlist):
self.name = name
self.type = type
self.ttl = ttl
self.rrList = rrlist
class Route53Backend(BaseBackend):
def __init__(self):
@ -49,5 +51,3 @@ class Route53Backend(BaseBackend):
route53_backend = Route53Backend()

View file

@ -33,6 +33,7 @@ def get_or_delete_hostzone_response(request, full_url, headers):
route53_backend.delete_hosted_zone(zoneid)
return 200, headers, DELETE_HOSTED_ZONE_RESPONSE
def rrset_response(request, full_url, headers):
parsed_url = urlparse(full_url)
method = request.method
@ -120,5 +121,4 @@ LIST_HOSTED_ZONES_RESPONSE = """<ListHostedZonesResponse xmlns="https://route53.
</HostedZone>
{% endfor %}
</HostedZones>
</ListHostedZonesResponse>"""
</ListHostedZonesResponse>"""