Fix ios_command unit testcase (#20031)

This commit is contained in:
Ganesh Nalawade 2017-01-09 22:58:32 +05:30 committed by Peter Sprygada
parent fb3bef7f46
commit 0305da6d6a

View file

@ -132,7 +132,7 @@ class test_iosCommandModule(unittest.TestCase):
def test_ios_command_match_all(self):
wait_for = ['result[0] contains "Cisco IOS"',
'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()
def test_ios_command_match_all_failure(self):