mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-16 01:45:25 -07: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:
parent
26d9de6f3e
commit
f8d20f970f
5 changed files with 31 additions and 12 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue