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(' ', '_')