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))