summaryrefslogtreecommitdiff
path: root/services/strategy-engine/tests/conftest.py
blob: c9ef308da30bbd9b3a7f407668d2904c2652deff (plain)
1
2
3
4
5
6
7
8
"""Pytest configuration: ensure strategies/ is importable."""
import sys
from pathlib import Path

# Add the strategies directory to sys.path so that `from strategies.base import ...` works
STRATEGIES_DIR = Path(__file__).parent.parent / "strategies"
if str(STRATEGIES_DIR) not in sys.path:
    sys.path.insert(0, str(STRATEGIES_DIR.parent))