Extract trip timezones and conference preparation into agenda modules

This commit is contained in:
Edward Betts 2026-09-09 12:03:51 +01:00
parent df7fd2fb9e
commit e3eb3e5af8
5 changed files with 591 additions and 548 deletions

View file

@ -8,6 +8,7 @@ import flask
import agenda.trip
import agenda.trip_schengen
import agenda.trip_timezones
import agenda.weather
import web_view
from agenda.types import Trip
@ -346,7 +347,7 @@ def test_trip_page_renders_car_times_in_local_route_timezone() -> None:
mock.patch.object(web_view, "get_trip_list", return_value=[trip]),
mock.patch.object(agenda.weather, "get_trip_weather", return_value=[]),
mock.patch.object(
web_view,
agenda.trip_timezones,
"_timezone_from_coordinates",
return_value="America/New_York",
),