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

Method test_full_featured_server

tests/commands/test_utils.py:130–133  ·  view source on GitHub ↗

Test server with both resources and prompts.

(self)

Source from the content-addressed store, hash-verified

128 """Tests for get_server_icon function."""
129
130 def test_full_featured_server(self):
131 """Test server with both resources and prompts."""
132 caps = {"resources": True, "prompts": True}
133 assert get_server_icon(caps, 5) == "🎯"
134
135 def test_resource_capable_server(self):
136 """Test server with only resources."""

Callers

nothing calls this directly

Calls 1

get_server_iconFunction · 0.90

Tested by

no test coverage detected