polymer-aging-ml / tests /conftest.py
devjas1
(SYNC): bring parity backend (utils/ scripts/ models/ tests/) from feat/ui-parity-rebuild; no UI changes
6373c5a
raw
history blame contribute delete
248 Bytes
# tests/conftest.py
import sys
from pathlib import Path
# Add repo root to sys.path so "utils", "models", "scripts" are importable in tests
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))