Files
skill-seekers-reference/tests
yusyus ae69c507a0 fix: Add defensive imports for MCP package in install_skill tests
- 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
2025-12-21 20:52:13 +03:00
..