Allow empty list of tags instead of None

If a stack has no tags we want to be able to return an empty list []
instead of None.

Change-Id: I2f31e6b1f59149370e57e5cb43984476e4a1902c
Task: 37005
This commit is contained in:
Zane Bitter 2019-10-09 23:29:52 -04:00
parent 13b0bf9cc5
commit 4e56c72ff0
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ resources:
# Ensure property tag is not populated
empty_tags_stack = self.client.stacks.get(stack_identifier)
self.assertIsNone(empty_tags_stack.tags)
self.assertFalse(empty_tags_stack.tags)
@decorators.idempotent_id('5ed79584-0684-4f9c-ae8e-44a8f874ec79')
def test_hidden_stack(self):