forked from phoenix/litellm-mirror
Litellm fix router testing (#5748)
* test: fix testing - azure changed content policy error logic * test: fix tests to use mock responses * test(test_image_generation.py): handle api instability * test(test_image_generation.py): handle azure api instability * fix(utils.py): fix unbounded variable error * fix(utils.py): fix unbounded variable error * test: refactor test to use mock response * test: mark flaky azure tests
This commit is contained in:
parent
8d4339c702
commit
dd602753c0
8 changed files with 36 additions and 11 deletions
|
@ -381,6 +381,7 @@ class CompletionCustomHandler(
|
|||
|
||||
# Simple Azure OpenAI call
|
||||
## COMPLETION
|
||||
@pytest.mark.flaky(retries=5, delay=1)
|
||||
@pytest.mark.asyncio
|
||||
async def test_async_chat_azure():
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue