diff options
author | Ganesh Nalawade <ganesh634@gmail.com> | 2018-06-29 11:37:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 11:37:38 +0200 |
commit | e41d427d1b13342347cc723924dc45b1578dc995 (patch) | |
tree | 41841f71028c9c9a42ee495699cbfaf1ae693514 /test | |
parent | powershell PRs should have windows label (#42081) (diff) | |
download | ansible-e41d427d1b13342347cc723924dc45b1578dc995.tar.xz ansible-e41d427d1b13342347cc723924dc45b1578dc995.zip |
Add run_commands api for ios and vyos cliconf plugin (#42093)
* Add run_commands api for ios and vyos cliconf plugin
* Add run_commands api to ios and vyos cliconf plugin
* Refactor ios and vyos module_utils to check return code
in run_commands
* Fix Ci failures
Diffstat (limited to 'test')
-rw-r--r-- | test/units/modules/network/vyos/test_vyos_command.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/units/modules/network/vyos/test_vyos_command.py b/test/units/modules/network/vyos/test_vyos_command.py index c64423c45b..4ba25e93ea 100644 --- a/test/units/modules/network/vyos/test_vyos_command.py +++ b/test/units/modules/network/vyos/test_vyos_command.py @@ -47,8 +47,7 @@ class TestVyosCommandModule(TestVyosModule): for item in commands: try: - obj = json.loads(item) - command = obj['command'] + command = item['command'] except ValueError: command = item filename = str(command).replace(' ', '_') |