test(opax-mcp): add Emma import bootstrap to auth tests
This commit is contained in:
parent
a83ed83b5e
commit
b2f4cfb4bd
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user