forked from phoenix/litellm-mirror
add error message on test
This commit is contained in:
parent
30137b0b72
commit
edc51f45ac
2 changed files with 1 additions and 12 deletions
|
@ -537,6 +537,7 @@ def test_call_with_user_over_budget(prisma_client):
|
|||
|
||||
asyncio.run(test())
|
||||
except Exception as e:
|
||||
print("got an errror=", e)
|
||||
error_detail = e.message
|
||||
assert "ExceededBudget:" in error_detail
|
||||
assert isinstance(e, ProxyException)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue