Files
DRL_PROJ/classifier/tests/__init__.py
T
Johnny Fernandes bb3dfb92d5 Clean state
2026-04-30 01:25:39 +01:00

12 lines
303 B
Python

from pathlib import Path
import sys
# Full suite
# python -m unittest discover -s classifier/tests -p "test_*.py" -t classifier
# Allow `from src...` imports when tests are run from repo root.
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))