mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
nso_action for Cisco NSO (#32781)
nso_action module for execution actions/RPCs in NSO.
This commit is contained in:
committed by
John R Barker
parent
29d3505cb4
commit
b2bc98c161
@@ -51,8 +51,7 @@ class TestNsoConfig(nso_module.TestNsoModule):
|
||||
'username': 'user', 'password': 'password',
|
||||
'url': 'http://localhost:8080/jsonrpc', 'data': data
|
||||
})
|
||||
with self.assertRaises(AnsibleFailJson):
|
||||
self.execute_module(changed=False, changes=[], diffs=[])
|
||||
self.execute_module(failed=True)
|
||||
|
||||
self.assertEqual(0, len(calls))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user