Fix AutoScalingGroup tags in DescribeAutoScalingGroups

I'm not certain that this is the approach that's desired. It'd be nice
to dynamically convert the keys one way or the other. Looking for
feedback.

Signed-off-by: Scott Greene <scott.greene@getbraintree.com>
This commit is contained in:
Andrew Garrett 2016-02-29 19:50:28 +00:00 committed by Scott Greene
commit 993087f2bb
2 changed files with 8 additions and 7 deletions

View file

@ -227,5 +227,6 @@ def test_stack_tags():
TemplateBody=dummy_template_json,
Tags=tags,
)
stack.tags.should.equal(tags)
observed_tag_items = set(item for items in [tag.items() for tag in stack.tags] for item in items)
expected_tag_items = set(item for items in [tag.items() for tag in tags] for item in items)
observed_tag_items.should.equal(expected_tag_items)