Spaces:
Running
Running
| """Root conftest — add project root to sys.path for tests.""" | |
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| PROJECT_ROOT = str(Path(__file__).resolve().parent) | |
| if PROJECT_ROOT not in sys.path: | |
| sys.path.insert(0, PROJECT_ROOT) | |