Files
RL-Sim-Framework/tests/conftest.py
2026-06-10 21:15:34 +02:00

8 lines
238 B
Python

import sys
from pathlib import Path
# Make `src.*` importable regardless of pytest invocation directory.
_PROJECT_ROOT = str(Path(__file__).resolve().parent.parent)
if _PROJECT_ROOT not in sys.path:
sys.path.insert(0, _PROJECT_ROOT)