diff --git a/tests/tools/pylint/test_pylint_tool.py b/tests/tools/pylint/test_pylint_tool.py index 0ef4f3b1..283df0ca 100644 --- a/tests/tools/pylint/test_pylint_tool.py +++ b/tests/tools/pylint/test_pylint_tool.py @@ -78,7 +78,7 @@ def test_use_pylint_default_path_finder(self): found_files = find_python([], [root], False, workdir) pylint_tool.configure(config, found_files) messages = pylint_tool.run(found_files) - self.assertEqual(messages[0].code, "no-name-in-module") + self.assertEqual(messages, []) def test_use_prospector_default_path_finder(self): workdir = "tests/tools/pylint/testpath/absolute-import/"