style: fix indentation in test_editblock.py

This commit is contained in:
Paul Gauthier 2024-11-05 11:43:04 -08:00 committed by Paul Gauthier (aider)
parent f7c0c433c3
commit 90730845de

View file

@ -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")