From: Irfanuddin Shafi Ahmed Date: Thu, 3 Nov 2022 20:06:00 +0000 (+0530) Subject: 🎨 Format OpenAPI JSON in `test_starlette_exception.py` (#5379) X-Git-Tag: 0.86.0~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5cd99a9517a555242e48dabee8fc7628efca2588;p=thirdparty%2Ffastapi%2Ffastapi.git 🎨 Format OpenAPI JSON in `test_starlette_exception.py` (#5379) --- diff --git a/tests/test_starlette_exception.py b/tests/test_starlette_exception.py index 2b6712f7b6..418ddff7dd 100644 --- a/tests/test_starlette_exception.py +++ b/tests/test_starlette_exception.py @@ -47,10 +47,10 @@ openapi_schema = { "responses": { "200": { "content": {"application/json": {"schema": {}}}, - "description": "Successful " "Response", + "description": "Successful Response", } }, - "summary": "No Body " "Status " "Code " "Exception", + "summary": "No Body Status Code Exception", } }, "/http-no-body-statuscode-with-detail-exception": { @@ -59,7 +59,7 @@ openapi_schema = { "responses": { "200": { "content": {"application/json": {"schema": {}}}, - "description": "Successful " "Response", + "description": "Successful Response", } }, "summary": "No Body Status Code With Detail Exception",