diff --git a/tests/integration/providers/test_decisions_wire.py b/tests/integration/providers/test_decisions_wire.py index bb4973d6f2f..7381965f377 100644 --- a/tests/integration/providers/test_decisions_wire.py +++ b/tests/integration/providers/test_decisions_wire.py @@ -582,7 +582,16 @@ def test_ollama_decisions_sdk_respects_environment_and_explicit_auth( authorization, {"model": provider.body_model, "state": _STATE, "questions": _QUESTIONS}, ) - assert _upstream_calls(gateway, unused) == [] + unused_calls: Final = _upstream_calls(gateway, unused) + assert tuple( + request + for request in unused_calls + if not ( + request["method"] == "POST" + and request["path"] == f"/{unused.scenario_id}/api/show" + and request["body"] == {"name": provider.body_model} + ) + ) == (), unused_calls def test_test_connection_evaluation_mode_uses_typesafe_decisions_path(gateway: Gateway) -> None: