mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-21 04:44:59 +00:00
test: add mock for sendchat.simple_send_with_retries in editblock test
This commit is contained in:
parent
c71a92ac84
commit
538752d0cf
1 changed files with 3 additions and 0 deletions
|
@ -372,6 +372,9 @@ creating a new file
|
|||
|
||||
coder.send = mock_send
|
||||
|
||||
def mock_sswr(*args, **kwargs): return "noop"
|
||||
#ai mock sendchat.simple_send_with_retries with that ^^ mock!
|
||||
|
||||
# Call the run method with a message
|
||||
coder.run(with_message="hi")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue