Updated handshake reference file

This commit is contained in:
Jonas Linter
2025-12-04 20:48:50 +01:00
parent 2f458ed6df
commit 02b0ec3b9c
2 changed files with 6 additions and 50 deletions

View File

@@ -157,7 +157,7 @@ def test_freerooms_endpoint_complete_set(freerooms_client: TestClient, freerooms
rows = fetch_availability(freerooms_client)
assert len(rows) == 3
assert rows[0].count_type_2 == 3
assert rows[0].bookable_type_2 == 3
def test_freerooms_endpoint_delta_updates_existing_rows(
@@ -182,7 +182,7 @@ def test_freerooms_endpoint_delta_updates_existing_rows(
assert response.status_code == HttpStatusCode.OK
rows = fetch_availability(freerooms_client)
counts = {row.date.isoformat(): row.count_type_2 for row in rows}
counts = {row.date.isoformat(): row.bookable_type_2 for row in rows}
assert counts["2025-10-02"] == 1
assert counts["2025-10-01"] == 3