test(proxy): drop the array fixture that no longer breaks the local estimate

The framed-estimate test asserts that when the provider count fails and the
local estimate also cannot read the request, the proxy answers with the
provider's error. Its array_schema_without_items fixture only provoked that
second failure because an untyped array raised KeyError, which the previous
commit stopped doing, so the request now counts successfully and the assert
that the error surfaces no longer applies.

The boolean_subschema_tool fixture covers the same contract and still fails
the local estimate, so the coverage is unchanged.

Signed-off-by: Delweng <delweng@gmail.com>
This commit is contained in:
Delweng 2026-10-18 13:54:44 +08:00
parent 05c8637ce6
commit a5648c66e1

View file

@ -1944,15 +1944,6 @@ async def test_framing_keeps_the_400_for_blocks_the_provider_counter_cannot_conv
},
id="boolean_subschema_tool",
),
pytest.param(
{
"messages": [{"role": "user", "content": "What is new?"}],
"tools": [
{"name": "search", "input_schema": {"type": "object", "properties": {"tags": {"type": "array"}}}}
],
},
id="array_schema_without_items",
),
pytest.param(
{"messages": [], "contents": [{"role": "user", "parts": [{"text": "What is new?"}]}]},
id="google_contents",