mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix ios_command unit testcase (#20031)
This commit is contained in:
parent
fb3bef7f46
commit
0305da6d6a
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ class test_iosCommandModule(unittest.TestCase):
|
||||||
def test_ios_command_match_all(self):
|
def test_ios_command_match_all(self):
|
||||||
wait_for = ['result[0] contains "Cisco IOS"',
|
wait_for = ['result[0] contains "Cisco IOS"',
|
||||||
'result[0] contains "IOSv Software"']
|
'result[0] contains "IOSv Software"']
|
||||||
set_module_args(dict(commands=['show version'], wait_for=wait_for, match='any'))
|
set_module_args(dict(commands=['show version'], wait_for=wait_for, match='all'))
|
||||||
self.execute_module()
|
self.execute_module()
|
||||||
|
|
||||||
def test_ios_command_match_all_failure(self):
|
def test_ios_command_match_all_failure(self):
|
||||||
|
|
Loading…
Reference in a new issue