enroll/tests/conftest.py
2025-12-15 11:04:54 +11:00

7 lines
234 B
Python

import sys
from pathlib import Path
# Ensure repository root is on sys.path so `import enroll` resolves to the local package.
ROOT = Path(__file__).resolve().parents[1]
if str(ROOT) not in sys.path:
sys.path.insert(0, str(ROOT))