mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
test: add test for retry_exceptions function call
This commit is contained in:
parent
cd133f95ee
commit
0fb79917ff
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ class PrintCalled(Exception):
|
||||||
class TestSendChat(unittest.TestCase):
|
class TestSendChat(unittest.TestCase):
|
||||||
def test_retry_exceptions(self):
|
def test_retry_exceptions(self):
|
||||||
"""Test that retry_exceptions() can be called without raising errors"""
|
"""Test that retry_exceptions() can be called without raising errors"""
|
||||||
|
# ai! imports to top
|
||||||
from aider.sendchat import retry_exceptions
|
from aider.sendchat import retry_exceptions
|
||||||
|
|
||||||
retry_exceptions() # Should not raise any exceptions
|
retry_exceptions() # Should not raise any exceptions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue