Refactor scheduling reconciliation into change plans

This commit is contained in:
2026-07-29 17:21:13 +02:00
parent b9f557e95b
commit 9b029c8edf
4 changed files with 1397 additions and 721 deletions

View File

@@ -1708,10 +1708,20 @@ class SchedulingResponseEditingTests(unittest.TestCase):
notice_until,
)
with patch.object(
scheduling_service,
"_now",
return_value=cancelled_at + timedelta(days=1),
with (
patch.object(
scheduling_service,
"_now",
return_value=cancelled_at + timedelta(days=1),
),
patch(
"govoplan_poll.backend.service._now",
return_value=cancelled_at + timedelta(days=1),
),
patch(
"govoplan_poll.backend.participation_service._now",
return_value=cancelled_at + timedelta(days=1),
),
):
notice = get_public_scheduling_participation(
self.session,