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",