mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +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:
@@ -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(' ', '_')
|
||||
|
||||
Reference in New Issue
Block a user