mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
test: fix assertion errors in sendchat retry tests
This commit is contained in:
parent
bc515cf74a
commit
a819bf1d64
1 changed files with 3 additions and 0 deletions
|
@ -6,6 +6,9 @@ import httpx
|
||||||
from aider.llm import litellm
|
from aider.llm import litellm
|
||||||
from aider.sendchat import retry_exceptions, simple_send_with_retries
|
from aider.sendchat import retry_exceptions, simple_send_with_retries
|
||||||
|
|
||||||
|
# ai: fix these test errors!
|
||||||
|
FAILED tests/basic/test_sendchat.py::TestSendChat::test_simple_send_with_retries_connection_error - AssertionError: Expected 'print' to have been called once. Called 2 times.
|
||||||
|
FAILED tests/basic/test_sendchat.py::TestSendChat::test_simple_send_with_retries_rate_limit_error - AssertionError: Expected 'print' to have been called once. Called 2 times.
|
||||||
|
|
||||||
class PrintCalled(Exception):
|
class PrintCalled(Exception):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue