Browse Source

🎨 Auto format

pull/14927/head
pre-commit-ci-lite[bot] 5 months ago
committed by GitHub
parent
commit
68a08572c1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 7
      tests/test_openapi_custom_response_class_no_status_code.py

7
tests/test_openapi_custom_response_class_no_status_code.py

@ -1,8 +1,7 @@
from starlette.responses import Response
from fastapi import FastAPI
from fastapi.testclient import TestClient
from inline_snapshot import snapshot
from starlette.responses import Response
class CustomResponse(Response):
@ -51,7 +50,9 @@ def test_openapi_schema():
"responses": {
"200": {
"description": "Successful Response",
"content": {"text/plain": {"schema": {"type": "string"}}},
"content": {
"text/plain": {"schema": {"type": "string"}}
},
}
},
}

Loading…
Cancel
Save