fix(tests): add missing start_dt/end_dt to mock event to_dict in test_list_events
This commit is contained in:
@@ -32,6 +32,8 @@ def _make_mock_event(id=1, user_id=1, uid="uid-abc", title="Meeting",
|
|||||||
e.to_dict.return_value = {
|
e.to_dict.return_value = {
|
||||||
"id": id, "uid": uid, "title": title,
|
"id": id, "uid": uid, "title": title,
|
||||||
"caldav_uid": caldav_uid, "color": color,
|
"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
|
return e
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user