Refresh provisional results in place

This commit is contained in:
Edward Betts 2026-05-21 12:04:53 +01:00
parent bc7cb9cffa
commit 06e622d817
3 changed files with 110 additions and 3 deletions

View file

@ -139,6 +139,8 @@ def test_results_can_render_from_weekday_timetable_cache(monkeypatch):
assert 'ES 9014' in html
assert 'checking exact timetable' in html
assert '/api/results_refresh/BRI/paris/2026-06-22' in html
assert 'refreshFullResults()' in html
assert 'window.location.reload()' not in html
def test_results_refresh_reloads_when_exact_timetable_differs(monkeypatch):