- Added try/except around 'from mcp.types import TextContent' in test files - Added @pytest.mark.skipif decorator to all test classes - Tests now gracefully skip if MCP package is not installed - Fixes ModuleNotFoundError during test collection in CI This follows the same pattern used in test_mcp_server.py (lines 21-31). All tests pass locally: 23 passed, 1 skipped
13 KiB
13 KiB