test(a2a): monkeypatched is_deferrable_tool_name accepts the defer_tools positional added in #97979

This commit is contained in:
Teknium
2026-08-29 18:32:44 -07:00
parent c1762ff11c
commit bc64ef80be
@@ -35,7 +35,8 @@ def test_a2a_call_schema_round_trips_through_tool_describe(monkeypatch):
monkeypatch.setattr(
tool_search,
"is_deferrable_tool_name",
lambda name: name == "a2a_call",
# #97979 added the defer_tools positional (curated-set override).
lambda name, defer_tools=None: name == "a2a_call",
)
described = json.loads(