Spaces:
Sleeping
Sleeping
| """Shared test helpers: fixture loading.""" | |
| from pathlib import Path | |
| FIXTURES_DIR = Path(__file__).resolve().parent / "fixtures" | |
| def load_fixture(*parts: str) -> str: | |
| """Read a text fixture from tests/fixtures/<parts...>.""" | |
| return FIXTURES_DIR.joinpath(*parts).read_text(encoding="utf-8") | |