This repository has been archived on 2026-08-04. You can view files and clone it, but cannot push or open issues or pull requests.
orchestrator/agent-team/tests/conftest.py

13 lines
400 B
Python

"""Pytest configuration: make the ``agent_team`` package importable.
Adds the ``agent-team/`` project root (the directory containing the
``agent_team`` package) to ``sys.path`` so tests can run without an editable
install.
"""
import sys
from pathlib import Path
_PROJECT_ROOT = Path(__file__).resolve().parents[1]
if str(_PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(_PROJECT_ROOT))