Test with single tool call.
()
| 52 | |
| 53 | @pytest.mark.asyncio |
| 54 | async 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 |
nothing calls this directly
no test coverage detected