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

Function manager

tests/tools/test_tool_index.py:27–31  ·  view source on GitHub ↗

ToolManager with mocked get_all_tools.

()

Source from the content-addressed store, hash-verified

25
26@pytest.fixture
27def manager():
28 """ToolManager with mocked get_all_tools."""
29 tm = ToolManager(config_file="dummy.json", servers=[])
30 tm.get_all_tools = AsyncMock(return_value=_make_tools())
31 return tm
32
33
34# ──────────────────────────────────────────────────────────────────────────────

Callers

nothing calls this directly

Calls 2

ToolManagerClass · 0.90
_make_toolsFunction · 0.85

Tested by

no test coverage detected