From 0305da6d6a4ed95c404253a3221fc04e25b52762 Mon Sep 17 00:00:00 2001 From: Ganesh Nalawade Date: Mon, 9 Jan 2017 22:58:32 +0530 Subject: [PATCH] Fix ios_command unit testcase (#20031) --- test/units/modules/network/ios/test_ios_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/units/modules/network/ios/test_ios_command.py b/test/units/modules/network/ios/test_ios_command.py index ed3beae253d..a22ae578c33 100644 --- a/test/units/modules/network/ios/test_ios_command.py +++ b/test/units/modules/network/ios/test_ios_command.py @@ -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):