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

Method test_none_ping

tests/commands/test_utils.py:78–82  ·  view source on GitHub ↗

Test with None ping value.

(self)

Source from the content-addressed store, hash-verified

76 """Tests for format_performance function."""
77
78 def test_none_ping(self):
79 """Test with None ping value."""
80 icon, text = format_performance(None)
81 assert icon == "❓"
82 assert text == "Unknown"
83
84 def test_very_fast_ping(self):
85 """Test with very fast ping (< 10ms)."""

Callers

nothing calls this directly

Calls 1

format_performanceFunction · 0.90

Tested by

no test coverage detected