Spaces:
Sleeping
Sleeping
File size: 302 Bytes
232eb80 5796881 | 1 2 3 4 5 6 7 8 9 10 11 | """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")
|