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

Method _proc_with_map

tests/chat/test_tool_processor.py:1819–1823  ·  view source on GitHub ↗
(self, tool_map, server_info_list)

Source from the content-addressed store, hash-verified

1817
1818class TestGetServerUrlForTool:
1819 def _proc_with_map(self, tool_map, server_info_list):
1820 context = DummyContext(tool_manager=DummyToolManager())
1821 context.tool_to_server_map = tool_map
1822 context.server_info = server_info_list
1823 return _make_processor(context=context)
1824
1825 def test_returns_none_without_map(self):
1826 context = DummyContext(tool_manager=DummyToolManager())

Calls 3

_make_processorFunction · 0.85
DummyContextClass · 0.70
DummyToolManagerClass · 0.70

Tested by

no test coverage detected