mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-27 12:51:25 -07:00
better handling of parsed
updated tests to match new result output
This commit is contained in:
parent
9ad62a48ab
commit
5e98be2e62
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue