Complete CarPass product flows
This commit is contained in:
@@ -115,8 +115,8 @@ async def test_expense_crud_and_insurance_allocation(client, auth_headers) -> No
|
||||
)
|
||||
assert stats.status_code == 200
|
||||
body = stats.json()
|
||||
assert body["expenses_cost"] in {"101.92", "101.93"}
|
||||
assert body["cost_by_category"]["insurance"] in {"101.92", "101.93"}
|
||||
assert body["expenses_cost"] == "100.00"
|
||||
assert body["cost_by_category"]["insurance"] == "100.00"
|
||||
|
||||
patched = await client.patch(
|
||||
f"/api/expenses/{entry_id}",
|
||||
|
||||
Reference in New Issue
Block a user