mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
test(test_proxy_exception_mapping.py): fix test
This commit is contained in:
parent
1a452057af
commit
456ce692df
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ def test_exception_openai_bad_model(client):
|
|||
response=response
|
||||
)
|
||||
print("Type of exception=", type(openai_exception))
|
||||
assert isinstance(openai_exception, openai.NotFoundError)
|
||||
assert isinstance(openai_exception, openai.BadRequestError)
|
||||
|
||||
except Exception as e:
|
||||
pytest.fail(f"LiteLLM Proxy test failed. Exception {str(e)}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue