The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(tests): gate test_mcp_oauth_metadata on the MCP SDK
teknium1f685eab0d31a
diff --git a/tests/tools/test_mcp_oauth_metadata.py b/tests/tools/test_mcp_oauth_metadata.pyindex 335e08188b5..ed9b1792a42 100644--- a/tests/tools/test_mcp_oauth_metadata.py+++ b/tests/tools/test_mcp_oauth_metadata.py@@ -24,7 +24,9 @@ from unittest.mock import AsyncMock, MagicMock, patchimport pytest-from mcp.shared.auth import OAuthMetadata+pytest.importorskip("mcp.shared.auth", reason="MCP SDK not installed")++from mcp.shared.auth import OAuthMetadata # noqa: E402from tools.mcp_oauth import HermesTokenStoragefrom tools.mcp_oauth_manager import _HERMES_PROVIDER_CLS