diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index cbf2c6aec..9639ad8e2 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -742,7 +742,8 @@ class TestCommands(TestCase): # Run cmd_lint commands.cmd_lint() - # Check if the linter was called with a filename string whose Path().name matches the expected filename + # Check if the linter was called with a filename string + # whose Path().name matches the expected filename mock_lint.assert_called_once() called_arg = mock_lint.call_args[0][0] self.assertEqual(Path(called_arg).name, filename)