wifi-densepose/scripts/tests/conftest.py

9 lines
241 B
Python

"""Make scripts/ importable for the calibration tests (ADR-152 S2.1.3)."""
import sys
from pathlib import Path
SCRIPTS_DIR = Path(__file__).resolve().parents[1]
if str(SCRIPTS_DIR) not in sys.path:
sys.path.insert(0, str(SCRIPTS_DIR))