chore: scaffold repo, pytest, DSZO fixtures, clock container
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
817ed3a45f
commit
c78c0f9460
15 files changed
+385
-1
No files matched your search
@@ -0,0 +1,18 @@
|
||||
"""Shared test data: the four frozen DSZO pages and where they came from."""
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
FIXTURES = Path(__file__).parent / "fixtures"
|
||||
FONT_DIR = str(ROOT / "assets" / "fonts")
|
||||
|
||||
# (fixture file, line, stop) — same order as lines.yaml
|
||||
SOURCES = [
|
||||
("line4_u_potoka.html", "4", "Štípa,u potoka"),
|
||||
("line5_u_potoka.html", "5", "Štípa,u potoka"),
|
||||
("line35_druzstvo.html", "35", "Štípa,družstvo"),
|
||||
("line36_druzstvo.html", "36", "Štípa,družstvo"),
|
||||
]
|
||||
|
||||
|
||||
def fixture_html(name: str) -> str:
|
||||
return (FIXTURES / name).read_text(encoding="utf-8")
|
||||
Reference in new issue
Block a user