From 2452a8cae8acb1164a3a316fec378489371e46ee Mon Sep 17 00:00:00 2001 From: HootRock Date: Fri, 30 Oct 2026 18:27:58 +0800 Subject: [PATCH] test(proxy): freeze the hook-output fixture --- tests/unit/proxy/proxy_server/test_streaming_helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/proxy/proxy_server/test_streaming_helpers.py b/tests/unit/proxy/proxy_server/test_streaming_helpers.py index 9899e7d2e64..a188326c685 100644 --- a/tests/unit/proxy/proxy_server/test_streaming_helpers.py +++ b/tests/unit/proxy/proxy_server/test_streaming_helpers.py @@ -184,7 +184,7 @@ async def test_responses_stream_sends_no_failure_event_after_an_upstream_error_e assert json.loads(frames[-1].split("data: ", 1)[1])["message"] == "upstream failed" -class _HookOutputItem(BaseModel): +class _HookOutputItem(BaseModel, frozen=True): id: str type: str