mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Port integration tests to network_cli (#33583)
* network_cli needs network_os * Work around for Python 3.x < 3.6
This commit is contained in:
@@ -818,9 +818,9 @@ class TaskExecutor:
|
||||
stdin.close()
|
||||
|
||||
if p.returncode == 0:
|
||||
result = json.loads(stdout)
|
||||
result = json.loads(to_text(stdout))
|
||||
else:
|
||||
result = json.loads(stderr)
|
||||
result = json.loads(to_text(stderr))
|
||||
|
||||
if 'messages' in result:
|
||||
for msg in result.get('messages'):
|
||||
|
||||
Reference in New Issue
Block a user