mcp
This commit is contained in:
12
scripts/mcp-server/tests/conftest.py
Normal file
12
scripts/mcp-server/tests/conftest.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Test configuration for MCP server tests."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
PROJECT_ROOT = Path(__file__).resolve().parents[1]
|
||||
SRC = PROJECT_ROOT / "src"
|
||||
for path in (PROJECT_ROOT, SRC):
|
||||
if str(path) not in sys.path:
|
||||
sys.path.insert(0, str(path))
|
||||
Reference in New Issue
Block a user