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

Function test_execute_tools_parallel_single_call

tests/tools/test_execution.py:54–64  ·  view source on GitHub ↗

Test with single tool call.

()

Source from the content-addressed store, hash-verified

52
53@pytest.mark.asyncio
54async def test_execute_tools_parallel_single_call():
55 """Test with single tool call."""
56 manager = MockToolManager()
57 calls = [CTPToolCall(id="call_1", tool="test_tool", arguments={"x": 1})]
58
59 results = await execute_tools_parallel(manager, calls)
60
61 assert len(results) == 1
62 assert results[0].tool == "test_tool"
63 assert results[0].is_success
64 assert manager.executed_tools == ["test_tool"]
65
66
67@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

execute_tools_parallelFunction · 0.90
MockToolManagerClass · 0.70

Tested by

no test coverage detected