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

Method test_debug_report

tests/config/test_runtime.py:199–213  ·  view source on GitHub ↗

Test debug report generation.

(self, base_config)

Source from the content-addressed store, hash-verified

197 assert rc.model == "llama2"
198
199 def test_debug_report(self, base_config):
200 """Test debug report generation."""
201 rc = RuntimeConfig(base_config)
202 report = rc.debug_report()
203
204 assert "timeouts" in report
205 assert "provider" in report
206 assert "model" in report
207 assert "tools" in report
208
209 # Check timeout structure
210 for tt in TimeoutType:
211 assert tt.value in report["timeouts"]
212 assert "value" in report["timeouts"][tt.value]
213 assert "source" in report["timeouts"][tt.value]
214
215 def test_get_tool_list_include(self, base_config, monkeypatch):
216 """Test _get_tool_list for include_tools."""

Callers

nothing calls this directly

Calls 2

debug_reportMethod · 0.95
RuntimeConfigClass · 0.90

Tested by

no test coverage detected