Debian Codegraph @

tests/__init__.py

raw
1 """Helpers for the tests."""
2
3 from pathlib import Path
4
5
6 def load_fixture(filename: str) -> str:
7 """Load a fixture."""
8 path = Path(__file__).parent / "fixtures" / filename
9 return path.read_text()