Complete CarPass product flows

This commit is contained in:
VPN SaaS Dev
2026-05-14 21:19:37 +09:00
parent a83f55c646
commit c0014ab4ea
28 changed files with 3006 additions and 159 deletions

View File

@@ -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}",