bristol-eurostar/tests
Edward Betts 6b044b9493 Add 24-hour TTL to Eurostar price cache
Cache reads now accept an optional ttl (seconds). get_cached checks the
file mtime and returns None if the entry is older than the TTL, triggering
a fresh fetch. Eurostar prices use a 24-hour TTL; timetable caches remain
indefinite (date-scoped keys become irrelevant once the date passes).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-04 10:38:47 +01:00
..
test_app.py Add 24-hour TTL to Eurostar price cache 2026-04-04 10:38:47 +01:00
test_cache.py Add 24-hour TTL to Eurostar price cache 2026-04-04 10:38:47 +01:00
test_eurostar_scraper.py Add app route tests and fix stale assertions 2026-04-01 14:33:10 +01:00
test_rtt_scraper.py Initial commit. 2026-03-30 19:34:46 +01:00
test_trip_planner.py Show cheapest GWR fare per journey and flag unreachable morning Eurostars 2026-04-04 10:22:47 +01:00