mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-11-02 11:12:21 +01:00
Squash Odysseus development history
This commit is contained in:
@@ -279,8 +279,10 @@ def test_list_events_filters_by_calendar_owner_before_output(monkeypatch):
|
||||
|
||||
expanded = []
|
||||
|
||||
def fake_expand(event, _start, _end):
|
||||
def fake_expand(event, _start, _end, *, db=None, owner=None):
|
||||
assert event.calendar.owner == "alice"
|
||||
assert db is session
|
||||
assert owner == "alice"
|
||||
expanded.append(event.uid)
|
||||
return [{"uid": event.uid, "dtstart": "2026-06-02T10:00:00"}]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user