diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index 1f6356c15..4cffd4043 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -817,7 +817,9 @@ class TestCommands(TestCase): file_path.write_text("Modified content") # Mock repo.get_commit_message to return a canned commit message - with mock.patch.object(repo, "get_commit_message", return_value="Canned commit message"): + with mock.patch.object( + repo, "get_commit_message", return_value="Canned commit message" + ): # Run cmd_commit commands.cmd_commit()