test: update _invoke_tool dispatch assertion for new toolset-scope kwargs

The scoping fix added enabled_toolsets/disabled_toolsets to the
agent_runtime_helpers sequential dispatch into handle_function_call, so
test_invoke_tool_dispatches_to_handle_function_call's assert_called_once_with
(exact match) needs the two new kwargs. Both are None for the default agent
fixture.
This commit is contained in:
teknium1 2026-05-29 01:32:18 -07:00 committed by Teknium
parent 1709776120
commit 18c9e89106

View file

@ -2428,6 +2428,8 @@ class TestConcurrentToolExecution:
session_id=agent.session_id,
enabled_tools=list(agent.valid_tool_names),
skip_pre_tool_call_hook=True,
enabled_toolsets=agent.enabled_toolsets,
disabled_toolsets=agent.disabled_toolsets,
)
assert result == "result"