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

Method test_empty_content

tests/display/test_formatters.py:226–229  ·  view source on GitHub ↗

Test with empty string.

(self)

Source from the content-addressed store, hash-verified

224 """Tests for format_content_preview function."""
225
226 def test_empty_content(self):
227 """Test with empty string."""
228 result = format_content_preview("")
229 assert result == ""
230
231 def test_short_content(self):
232 """Test with content shorter than max_len."""

Callers

nothing calls this directly

Calls 1

format_content_previewFunction · 0.90

Tested by

no test coverage detected