1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-29 23:49:09 +00:00

better handling of parsed

updated tests to match new result output
This commit is contained in:
Brian Coca 2017-03-20 10:08:13 -04:00 committed by Brian Coca
parent 9ad62a48ab
commit 5e98be2e62
2 changed files with 3 additions and 2 deletions

View file

@ -591,6 +591,7 @@ class TestActionBaseParseReturnedData(unittest.TestCase):
'stdout_lines': stdout.splitlines(),
'stderr': err}
res = action_base._parse_returned_data(returned_data)
del res['_ansible_parsed'] # we always have _ansible_parsed
self.assertEqual(len(res), 0)
self.assertFalse(res)