test: fix test

This commit is contained in:
Krrish Dholakia 2024-11-14 19:11:29 +05:30
parent b4f7771ed1
commit 9053a6a203

View file

@ -679,6 +679,8 @@ async def test_anthropic_no_content_error():
frequency_penalty=0.8,
)
pass
except litellm.InternalServerError:
pass
except litellm.APIError as e:
assert e.status_code == 500