Spaces:
Sleeping
Sleeping
File size: 346 Bytes
906e104 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | """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))
|