From e9b81bb3253cd7375617a733a5761752d645ee66 Mon Sep 17 00:00:00 2001 From: Gordon Irving Date: Thu, 28 Dec 2017 19:27:53 +0000 Subject: [PATCH] add test for vpc tags --- .../test_cloudformation_stack_integration.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_cloudformation/test_cloudformation_stack_integration.py b/tests/test_cloudformation/test_cloudformation_stack_integration.py index 051d8bed7..3a7525585 100644 --- a/tests/test_cloudformation/test_cloudformation_stack_integration.py +++ b/tests/test_cloudformation/test_cloudformation_stack_integration.py @@ -752,6 +752,9 @@ def test_vpc_single_instance_in_subnet(): security_group.vpc_id.should.equal(vpc.id) stack = conn.describe_stacks()[0] + + vpc.tags.should.have.key('Application').which.should.equal(stack.stack_id) + resources = stack.describe_resources() vpc_resource = [ resource for resource in resources if resource.resource_type == 'AWS::EC2::VPC'][0]