mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
NSO - added validate_certs parameter to allow for ignoring of SSL certificates (#51981)
* added validate_certs paramter to allow for ignoring of SSL certificates * formatting * updated NSO unit tests with validate_certs variable * fixed NSO tests
This commit is contained in:
committed by
John R Barker
parent
1563dc32e8
commit
1f7ffe2619
@@ -55,7 +55,7 @@ class MockResponse(object):
|
||||
return self.body
|
||||
|
||||
|
||||
def mock_call(calls, url, timeout, data=None, headers=None, method=None):
|
||||
def mock_call(calls, url, timeout, validate_certs, data=None, headers=None, method=None):
|
||||
if len(calls) == 0:
|
||||
raise ValueError('no call mock for method {0}({1})'.format(
|
||||
url, data))
|
||||
|
||||
Reference in New Issue
Block a user