mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-08-01 19:18:35 -04:00
16 lines
427 B
Python
16 lines
427 B
Python
"""Regression coverage for the built-in MCP servers' SDK compatibility line."""
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
REQUIREMENTS = Path(__file__).resolve().parents[1] / "requirements.txt"
|
|
|
|
|
|
def test_mcp_requirement_excludes_breaking_v2_sdk():
|
|
requirements = [
|
|
line.split("#", 1)[0].strip().replace(" ", "")
|
|
for line in REQUIREMENTS.read_text(encoding="utf-8").splitlines()
|
|
]
|
|
|
|
assert "mcp<2" in requirements
|