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

Method test_parse_none

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

Source from the content-addressed store, hash-verified

440 assert result == {"key": "val"}
441
442 def test_parse_none(self):
443 tm = DummyToolManager()
444 ctx = DummyContext(tool_manager=tm)
445 ui = DummyUIManager()
446 tp = ToolProcessor(ctx, ui)
447
448 result = tp._parse_arguments(None)
449 assert result == {}
450
451 def test_parse_invalid_json(self):
452 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