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

Method test_false_capabilities

tests/commands/test_utils.py:64–72  ·  view source on GitHub ↗

Test with explicitly false capabilities.

(self)

Source from the content-addressed store, hash-verified

62 assert "Streaming*" in result
63
64 def test_false_capabilities(self):
65 """Test with explicitly false capabilities."""
66 caps = {
67 "tools": False,
68 "prompts": False,
69 "resources": False,
70 "experimental": {"events": False, "streaming": False},
71 }
72 assert format_capabilities(caps) == "None"
73
74
75class TestFormatPerformance:

Callers

nothing calls this directly

Calls 1

format_capabilitiesFunction · 0.90

Tested by

no test coverage detected