chore: scaffold repo, pytest, DSZO fixtures, clock container

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
rickzkmandClaude Sonnet 5.5 committed 2026-10-07 00:20:00 +02:00
1 parent 817ed3a45f
commit c78c0f9460
15 files changed
+385 -1

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
import yaml
from tests.helpers import ROOT, SOURCES, fixture_html
def test_fixtures_are_dszo_stop_timetables():
for name, line, stop in SOURCES:
html = fixture_html(name)
assert 'class="stop-timetable"' in html, name
assert f'zast. {stop}' in html and f'linka "{line}"' in html, name
def test_lines_yaml_matches_fixture_sources():
entries = yaml.safe_load((ROOT / "lines.yaml").read_text(encoding="utf-8"))["lines"]
assert [(e["line"], e["stop"]) for e in entries] == [(l, s) for _, l, s in SOURCES]