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

Function test_execute_tools_parallel_respects_namespace

tests/tools/test_execution.py:217–226  ·  view source on GitHub ↗

Test namespace is passed correctly.

()

Source from the content-addressed store, hash-verified

215
216@pytest.mark.asyncio
217async def test_execute_tools_parallel_respects_namespace():
218 """Test namespace is passed correctly."""
219 manager = MockToolManager()
220 calls = [
221 CTPToolCall(id="call_1", tool="test_tool", arguments={}, namespace="custom_ns")
222 ]
223
224 results = await execute_tools_parallel(manager, calls)
225
226 assert len(results) == 1
227
228
229# ----------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 2

execute_tools_parallelFunction · 0.90
MockToolManagerClass · 0.70

Tested by

no test coverage detected