MCPcopy Create free account
hub / github.com/IBM/mcp-cli / test_get_tool_config

Method test_get_tool_config

tests/config/test_runtime.py:126–132  ·  view source on GitHub ↗

Test getting tool configuration.

(self, base_config)

Source from the content-addressed store, hash-verified

124 assert isinstance(timeouts, TimeoutConfig)
125
126 def test_get_tool_config(self, base_config):
127 """Test getting tool configuration."""
128 rc = RuntimeConfig(base_config)
129 tool_config = rc.get_tool_config()
130
131 assert isinstance(tool_config, ToolConfig)
132 assert tool_config.max_concurrency > 0
133
134 def test_get_tool_config_with_cli_overrides(self, base_config):
135 """Test getting tool config with CLI overrides."""

Callers

nothing calls this directly

Calls 2

get_tool_configMethod · 0.95
RuntimeConfigClass · 0.90

Tested by

no test coverage detected