13 lines
400 B
Python
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))
|