From 1ac40cbaf61a4636fcee2762571afe3e0b1346e6 Mon Sep 17 00:00:00 2001 From: beeva-antonioirizar Date: Wed, 17 Feb 2016 15:24:11 +0100 Subject: [PATCH] add private zone in templates. Because it should have. It is always to False because it doesn't support for private zones. --- moto/route53/models.py | 1 + moto/route53/responses.py | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/moto/route53/models.py b/moto/route53/models.py index 0e79d617a..7838b47d8 100644 --- a/moto/route53/models.py +++ b/moto/route53/models.py @@ -114,6 +114,7 @@ class FakeZone(object): self.name = name self.id = id_ self.comment = comment + self.private_zone = False self.rrsets = [] def add_rrset(self, record_set): diff --git a/moto/route53/responses.py b/moto/route53/responses.py index 6d72c70b1..627e83f5a 100644 --- a/moto/route53/responses.py +++ b/moto/route53/responses.py @@ -139,6 +139,7 @@ GET_HOSTED_ZONE_RESPONSE = """