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

Function test_execute_tools_parallel_with_timeout

tests/tools/test_execution.py:85–93  ·  view source on GitHub ↗

Test with custom timeout.

()

Source from the content-addressed store, hash-verified

83
84@pytest.mark.asyncio
85async def test_execute_tools_parallel_with_timeout():
86 """Test with custom timeout."""
87 manager = MockToolManager()
88 calls = [CTPToolCall(id="call_1", tool="test_tool", arguments={})]
89
90 results = await execute_tools_parallel(manager, calls, timeout=60.0)
91
92 assert len(results) == 1
93 assert results[0].is_success
94
95
96@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 2

execute_tools_parallelFunction · 0.90
MockToolManagerClass · 0.70

Tested by

no test coverage detected