From 70a509bbeac4ee1cb8d36ee50cdd27a2b0bae542 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Wed, 2 Oct 2024 09:21:23 -0700 Subject: [PATCH] style: Format error message assertion in test_commands.py --- tests/basic/test_commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index 154c98f0c..5569e5b3d 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -715,7 +715,9 @@ class TestCommands(TestCase): commands.cmd_read_only(str(Path(repo_dir) / "nonexistent*.txt")) # Check if the appropriate error message was displayed - mock_tool_error.assert_called_once_with(f"No matches found for: {Path(repo_dir) / 'nonexistent*.txt'}") + mock_tool_error.assert_called_once_with( + f"No matches found for: {Path(repo_dir) / 'nonexistent*.txt'}" + ) # Ensure no files were added to abs_read_only_fnames self.assertEqual(len(coder.abs_read_only_fnames), 0)