add error message on test

This commit is contained in:
Ishaan Jaff 2024-09-05 15:46:13 -07:00
parent 30137b0b72
commit edc51f45ac
2 changed files with 1 additions and 12 deletions

View file

@ -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)