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

Method test_dict_value

tests/display/test_formatters.py:53–58  ·  view source on GitHub ↗

Test formatting of dict value.

(self)

Source from the content-addressed store, hash-verified

51 assert len(result) < 100
52
53 def test_dict_value(self):
54 """Test formatting of dict value."""
55 result = format_args_preview({"config": {"key": "value"}})
56 assert "config=" in result
57 assert "key" in result
58 assert "value" in result
59
60 def test_list_value(self):
61 """Test formatting of list value."""

Callers

nothing calls this directly

Calls 1

format_args_previewFunction · 0.90

Tested by

no test coverage detected