From 90730845de1a0dd25518403e57f79001fef411b4 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 5 Nov 2024 11:43:04 -0800 Subject: [PATCH] style: fix indentation in test_editblock.py --- tests/basic/test_editblock.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/basic/test_editblock.py b/tests/basic/test_editblock.py index ccc0a9ffd..aa16c4de7 100644 --- a/tests/basic/test_editblock.py +++ b/tests/basic/test_editblock.py @@ -372,10 +372,11 @@ creating a new file coder.send = mock_send - def mock_sswr(*args, **kwargs): return "noop" + def mock_sswr(*args, **kwargs): + return "noop" + with patch("aider.sendchat.simple_send_with_retries", mock_sswr): - # Call the run method with a message - coder.run(with_message="hi") + coder.run(with_message="hi") content = Path(file1).read_text(encoding="utf-8") self.assertEqual(content, "one\ntwo\nthree\n")