mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07: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:
parent
09b3b5305a
commit
8679d2e396
2 changed files with 9 additions and 3 deletions
|
@ -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'):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue