forked from phoenix/litellm-mirror
build(test_keys.py): improve error message for test
This commit is contained in:
parent
abdae87ba2
commit
b9f5b3c1a0
1 changed files with 3 additions and 1 deletions
|
@ -488,7 +488,9 @@ async def test_key_info_spend_values():
|
|||
)
|
||||
rounded_response_cost = round(response_cost, 8)
|
||||
rounded_key_info_spend = round(key_info["info"]["spend"], 8)
|
||||
assert rounded_response_cost == rounded_key_info_spend
|
||||
assert (
|
||||
rounded_response_cost == rounded_key_info_spend
|
||||
), f"Expected cost= {rounded_response_cost} != Tracked Cost={rounded_key_info_spend}"
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue