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

Method test_parse_dict

tests/chat/test_tool_processor_extended.py:433–440  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

431 assert result == {}
432
433 def test_parse_dict(self):
434 tm = DummyToolManager()
435 ctx = DummyContext(tool_manager=tm)
436 ui = DummyUIManager()
437 tp = ToolProcessor(ctx, ui)
438
439 result = tp._parse_arguments({"key": "val"})
440 assert result == {"key": "val"}
441
442 def test_parse_none(self):
443 tm = DummyToolManager()

Callers

nothing calls this directly

Calls 5

_parse_argumentsMethod · 0.95
ToolProcessorClass · 0.90
DummyToolManagerClass · 0.70
DummyContextClass · 0.70
DummyUIManagerClass · 0.70

Tested by

no test coverage detected