1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-31 13:31:01 +00:00

nxos integration fix part 1 (#27069)

* Assorted Python 3 fixes

* Fix `testcase` definition in integration tests

* Fix nxos_acl_interface

* clean up nxapi after nxos_nxapi
This commit is contained in:
Nathaniel Case 2017-07-19 14:00:05 -04:00 committed by GitHub
parent b8337ee9d3
commit 56a0b988a9
12 changed files with 29 additions and 11 deletions

View file

@ -48,8 +48,7 @@ class TestNxosAclInterfaceModule(TestNxosModule):
for item in commands:
try:
obj = json.loads(item)
command = obj['command']
command = item['command']
except ValueError:
command = item
filename = '%s.txt' % str(command).split(' | ')[0].replace(' ', '_')