test(opax-mcp): add Emma import bootstrap to auth tests

This commit is contained in:
Chris Christiansen 2026-09-21 08:59:03 +00:00
parent a83ed83b5e
commit b2f4cfb4bd

View File

@ -8,6 +8,10 @@ from unittest.mock import AsyncMock, patch
REPO_ROOT = Path(__file__).resolve().parents[1] REPO_ROOT = Path(__file__).resolve().parents[1]
sys.path.insert(0, str(REPO_ROOT / "opax-mcp")) sys.path.insert(0, str(REPO_ROOT / "opax-mcp"))
EMMA_DIR = REPO_ROOT / "emma"
if str(EMMA_DIR) not in sys.path:
sys.path.insert(0, str(EMMA_DIR))
import server import server