From c3a7df139fb7de6b2db7fdf220f4a3068fddd5fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Fri, 27 Feb 2026 21:39:09 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=85=20Update=20test=20for=20streaming=20t?= =?UTF-8?q?utorial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../test_stream_data/test_tutorial002.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/test_tutorial/test_stream_data/test_tutorial002.py b/tests/test_tutorial/test_stream_data/test_tutorial002.py index 83201a7a22..8bd7384c57 100644 --- a/tests/test_tutorial/test_stream_data/test_tutorial002.py +++ b/tests/test_tutorial/test_stream_data/test_tutorial002.py @@ -26,6 +26,7 @@ def get_client(mod): [ "/image/stream", "/image/stream-no-async", + "/image/stream-no-async-yield-from", "/image/stream-no-annotation", "/image/stream-no-async-no-annotation", ], @@ -73,6 +74,20 @@ def test_openapi_schema(client: TestClient): }, } }, + "/image/stream-no-async-yield-from": { + "get": { + "summary": "Stream Image No Async Yield From", + "operationId": "stream_image_no_async_yield_from_image_stream_no_async_yield_from_get", + "responses": { + "200": { + "description": "Successful Response", + "content": { + "image/png": {"schema": {"type": "string"}} + }, + } + }, + } + }, "/image/stream-no-annotation": { "get": { "summary": "Stream Image No Annotation",