Spaces:
Sleeping
Sleeping
| """Shared test fixtures for DAHS_2. | |
| Pytest auto-loads this file. We add the project root to sys.path so tests can | |
| import `src.*` without an editable install. | |
| """ | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parent.parent | |
| if str(ROOT) not in sys.path: | |
| sys.path.insert(0, str(ROOT)) | |