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:
parent
b8337ee9d3
commit
56a0b988a9
12 changed files with 29 additions and 11 deletions
|
|
@ -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(' ', '_')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue