Disruption-System / tests /conftest.py
Vittal-M's picture
Upload 66 files
906e104 verified
raw
history blame contribute delete
346 Bytes
"""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))