Files
Assistant/client/tests/conftest.py
T

9 lines
298 B
Python

"""Shared pytest fixtures for the client test suite."""
import sys
from pathlib import Path
# Make the repo root importable so `import client.<module>` works without install.
REPO_ROOT = Path(__file__).resolve().parents[2]
if str(REPO_ROOT) not in sys.path:
sys.path.insert(0, str(REPO_ROOT))