mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Update Cisco NSO module required versions. (#36736)
NSO modules will now work with older versions of NSO, update version requirements.
This commit is contained in:
committed by
John R Barker
parent
26d9de6f3e
commit
f8d20f970f
@@ -32,11 +32,11 @@ class TestNsoConfig(nso_module.TestNsoModule):
|
||||
|
||||
@patch('ansible.module_utils.network.nso.nso.open_url')
|
||||
def test_nso_config_invalid_version_short(self, open_url_mock):
|
||||
self._test_invalid_version(open_url_mock, '4.4')
|
||||
self._test_invalid_version(open_url_mock, '3.3')
|
||||
|
||||
@patch('ansible.module_utils.network.nso.nso.open_url')
|
||||
def test_nso_config_invalid_version_long(self, open_url_mock):
|
||||
self._test_invalid_version(open_url_mock, '4.4.2')
|
||||
self._test_invalid_version(open_url_mock, '3.3.2')
|
||||
|
||||
def _test_invalid_version(self, open_url_mock, version):
|
||||
calls = [
|
||||
|
||||
Reference in New Issue
Block a user