(test) ExceededTokenBudget

This commit is contained in:
ishaan-jaff 2024-01-22 12:13:41 -08:00
parent 8979b74d49
commit e846b8fca8

View file

@ -664,7 +664,7 @@ def test_call_with_key_over_budget(prisma_client):
asyncio.run(test()) asyncio.run(test())
except Exception as e: except Exception as e:
error_detail = e.detail error_detail = e.detail
assert "Authentication Error, ExceededBudget:" in error_detail assert "Authentication Error, ExceededTokenBudget:" in error_detail
print(vars(e)) print(vars(e))