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
..
2025-10-29 23:19:32 +03:00
2025-10-19 02:08:58 +03:00
2025-11-29 22:13:13 +03:00
2025-10-19 17:01:37 +03:00
2025-11-07 01:21:29 +03:00
2025-11-30 12:25:55 +03:00
2025-11-20 13:55:46 -08:00
2025-11-29 22:13:13 +03:00
2025-11-10 21:35:44 +03:00
2025-11-30 00:13:49 +03:00
2025-12-21 19:28:22 +03:00
2025-12-21 19:45:06 +03:00
2025-11-29 21:55:46 +03:00
2025-12-21 20:52:13 +03:00
2025-12-21 20:52:13 +03:00
2025-11-07 01:14:24 +03:00
2025-11-29 22:13:13 +03:00
2025-11-07 01:14:24 +03:00
2025-11-07 01:14:24 +03:00
2025-12-21 19:45:06 +03:00
2025-12-21 18:40:50 +03:00
2025-11-29 21:34:51 +03:00
2025-11-07 01:14:24 +03:00
2025-11-07 01:21:29 +03:00
2025-10-23 21:43:05 +03:00
2025-10-23 21:43:05 +03:00
2025-11-29 21:55:46 +03:00
2025-10-26 13:05:39 +03:00
2025-11-29 21:34:51 +03:00
2025-11-07 01:14:24 +03:00
2025-11-29 21:34:51 +03:00
2025-11-29 22:56:37 +03:00
2025-12-21 19:28:22 +03:00
2025-11-29 21:34:51 +03:00
2025-11-11 22:26:52 +03:00
2025-11-07 01:21:29 +03:00
2025-11-10 21:35:44 +03:00
2025-11-07 01:21:29 +03:00