mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
better handling of parsed
updated tests to match new result output
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user