Commit 0c19f89f authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2595] Small cleanup in __check_printed_messages()

parent e283a05c
......@@ -366,9 +366,10 @@ class TestConfigCommands(unittest.TestCase):
def __check_printed_messages(self, expected_messages):
'''Helper test function to check the printed messages against a list
of regexps'''
for el in map(self.__check_printed_message,
expected_messages,
self.printed_messages):
self.assertEqual(len(expected_messages), len(self.printed_messages))
for _ in map(self.__check_printed_message,
expected_messages,
self.printed_messages):
pass
def test_try_login(self):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment