Merge "Add additional log of meta_data devices content"

This commit is contained in:
Zuul 2018-07-18 18:41:02 +00:00 committed by Gerrit Code Review
commit 7a8d70da70
1 changed files with 3 additions and 1 deletions

View File

@ -320,7 +320,9 @@ class TaggedAttachmentsTest(DeviceTaggingBase):
try:
self.assertEmpty(md_dict['devices'])
return True
except Exception:
except AssertionError:
LOG.debug("Related bug 1775947. Devices dict is not empty: %s",
md_dict['devices'])
return False
@decorators.idempotent_id('3e41c782-2a89-4922-a9d2-9a188c4e7c7c')