test: add test for retry_exceptions function call

This commit is contained in:
Paul Gauthier 2024-10-28 14:28:48 -07:00 committed by Paul Gauthier (aider)
parent cd133f95ee
commit 0fb79917ff

View file

@ -14,6 +14,7 @@ class PrintCalled(Exception):
class TestSendChat(unittest.TestCase):
def test_retry_exceptions(self):
"""Test that retry_exceptions() can be called without raising errors"""
# ai! imports to top
from aider.sendchat import retry_exceptions
retry_exceptions() # Should not raise any exceptions