Files
photoanalyzer/tests/conftest.py

9 lines
217 B
Python

"""Make the repository root importable for the pipeline test suites."""
import sys
from pathlib import Path
REPO = Path(__file__).resolve().parents[1]
if str(REPO) not in sys.path:
sys.path.insert(0, str(REPO))