ops-warden/tests/conftest.py

11 lines
313 B
Python
Raw Permalink Normal View History

"""Test configuration for ops-warden."""
from __future__ import annotations
import sys
from pathlib import Path
PHASE_MEMORY_SRC = Path(__file__).resolve().parents[2] / "phase-memory" / "src"
if PHASE_MEMORY_SRC.exists() and str(PHASE_MEMORY_SRC) not in sys.path:
sys.path.insert(0, str(PHASE_MEMORY_SRC))