def test_templateCF_Route53Zone(self):
    resources = {'route53_zone': {'testr53zone': {'name': 'example.com', 'comment': 'testzonecomment', 'hostedzone': {'Name': 'testname', 'Tag2': 'testtagstuff'}, 'vpcs': {'vpc-12345678': 'ap-southeast-2', 'vpc-87654321': 'us-west-2'}}}}
    expected = {'testr53zone': {'Type': 'AWS::Route53::HostedZone', 'Properties': {'HostedZoneConfig': {'Comment': 'testzonecomment'}, 'HostedZoneTags': [{'Key': 'Name', 'Value': 'testname'}, {'Key': 'Tag2', 'Value': 'testtagstuff'}], 'VPCs': [{'VPCId': 'vpc-87654321', 'VPCRegion': 'us-west-2'}, {'VPCId': 'vpc-12345678', 'VPCRegion': 'ap-southeast-2'}], 'Name': 'example.com'}}}
    actual = templateCF(resources, 'resources')
    self.assertDictEqual(actual, expected)
def test_templateCF_Route53Zone(self):
    resources = {'route53_zone': {'testr53zone': {'name': 'example.com', 'comment': 'testzonecomment', 'hostedzone': {'Name': 'testname', 'Tag2': 'testtagstuff'}, 'vpcs': {'vpc-12345678': 'ap-southeast-2', 'vpc-87654321': 'us-west-2'}}}}
    expected = {'testr53zone': {'Type': 'AWS::Route53::HostedZone', 'Properties': {'HostedZoneConfig': {'Comment': 'testzonecomment'}, 'HostedZoneTags': [{'Key': 'Name', 'Value': 'testname'}, {'Key': 'Tag2', 'Value': 'testtagstuff'}], 'VPCs': [{'VPCId': 'vpc-87654321', 'VPCRegion': 'us-west-2'}, {'VPCId': 'vpc-12345678', 'VPCRegion': 'ap-southeast-2'}], 'Name': 'example.com'}}}
    actual = templateCF(resources, 'resources')
    self.assertDictEqual(actual, expected)