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

Method test_empty_content

tests/chat/test_tool_processor.py:668–671  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

666 assert result == content
667
668 def test_empty_content(self):
669 processor = self._make_processor()
670 result = processor._truncate_tool_result("", max_chars=100)
671 assert result == ""
672
673 def test_value_binding_in_tail_preserved(self):
674 """Value binding appended at end should survive truncation."""

Callers

nothing calls this directly

Calls 2

_make_processorMethod · 0.95
_truncate_tool_resultMethod · 0.80

Tested by

no test coverage detected