Test stream_execute_tools with custom timeout.
()
| 446 | |
| 447 | @pytest.mark.asyncio |
| 448 | async def test_stream_execute_tools_with_timeout(): |
| 449 | """Test stream_execute_tools with custom timeout.""" |
| 450 | manager = MockToolManager() |
| 451 | calls = [CTPToolCall(id="call_1", tool="test_tool", arguments={})] |
| 452 | |
| 453 | results = [] |
| 454 | async for result in stream_execute_tools(manager, calls, timeout=60.0): |
| 455 | results.append(result) |
| 456 | |
| 457 | assert len(results) == 1 |
| 458 | assert results[0].is_success |
| 459 | |
| 460 | |
| 461 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected