mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-21 05:15:06 +00:00
test(proxy): expect the settling call id on a pass-through budget reservation
This commit is contained in:
parent
af0390b70b
commit
2d23c8fa54
1 changed files with 4 additions and 1 deletions
|
|
@ -7711,7 +7711,10 @@ async def test_passthrough_success_reconciles_budget_reservation():
|
|||
|
||||
increment_spend_counters.assert_awaited_once()
|
||||
assert increment_spend_counters.await_args.kwargs["budget_reservation"] is reservation
|
||||
assert increment_spend_counters.await_args.kwargs["budget_reservation"] == budget_reservation
|
||||
assert increment_spend_counters.await_args.kwargs["budget_reservation"] == {
|
||||
**budget_reservation,
|
||||
"settling_call_id": "lit-5425-call-id",
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue