From b5106441dd93cfbd2f1fe7577d54e8050d353318 Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 5 Apr 2026 00:05:27 -0400 Subject: [PATCH] fix(tests): add missing start_dt/end_dt to mock event to_dict in test_list_events --- tests/test_events_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_events_service.py b/tests/test_events_service.py index 36d5ebb..3952e28 100644 --- a/tests/test_events_service.py +++ b/tests/test_events_service.py @@ -32,6 +32,8 @@ def _make_mock_event(id=1, user_id=1, uid="uid-abc", title="Meeting", e.to_dict.return_value = { "id": id, "uid": uid, "title": title, "caldav_uid": caldav_uid, "color": color, + "start_dt": datetime(2026, 3, 25, 10, 0, tzinfo=timezone.utc).isoformat(), + "end_dt": datetime(2026, 3, 25, 11, 0, tzinfo=timezone.utc).isoformat(), } return e