From 665dedc49e97823329af3edaf6cc08cb5eb30754 Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Sat, 21 Nov 2026 17:51:27 -0500 Subject: [PATCH] test(r30/CR-04): add start_time_local, timezone, and lookup_id min boundaries - Expand test_appointment_create_request_boundaries for start_time_local [15, 16, 32, 33] and timezone [2, 3, 64, 65] - Add min=1 lookup_id ('a' -> 404) case to test_get_appointment_lookup_id_length_boundaries --- tests/test_app.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/test_app.py b/tests/test_app.py index 0b01400..9bdce7a 100644 --- a/tests/test_app.py +++ b/tests/test_app.py @@ -1034,6 +1034,14 @@ def test_zoom_credentials_length_boundaries(client, monkeypatch, field, length, ({"amount_usd": 0.01}, 201), ({"amount_usd": 10000}, 201), ({"amount_usd": 10000.01}, 422), + ({"start_time_local": "2026-11-25T15:0"}, 422), + ({"start_time_local": "2026-11-25T15:00"}, 201), + ({"start_time_local": "2026-11-25T15:00:00.000000+00:00"}, 201), + ({"start_time_local": "2026-11-25T15:00:00.0000000+00:00"}, 422), + ({"timezone": "UT"}, 422), + ({"timezone": "UTC"}, 201), + ({"timezone": "A" * 64}, 400), + ({"timezone": "A" * 65}, 422), ], ) def test_appointment_create_request_boundaries(client, monkeypatch, overrides, expected_status): @@ -1062,6 +1070,7 @@ def test_appointment_create_request_boundaries(client, monkeypatch, overrides, e ("lookup_id", "expected_status"), [ (" ", 400), + ("a", 404), ("a" * 64, 404), ("a" * 65, 400), ],