Browse Source

Fix comment in test

pull/13825/head
Robert Anthony 3 weeks ago
parent
commit
a63a0e8093
  1. 2
      tests/test_offline_docs/test_root_path_with_static_mount.py

2
tests/test_offline_docs/test_root_path_with_static_mount.py

@ -110,7 +110,7 @@ def test_redoc_docs_with_static_assets(
@app.get("/") @app.get("/")
async def custom_redoc_html(req: Request): async def custom_redoc_html(req: Request):
""" """
Sets up a localized version of the Swagger (OpenAPI) docs that can be run without assets from the Internet. Sets up a localized version of the Redoc docs that can be run without assets from the Internet.
""" """
root_path = req.scope.get("root_path", "").rstrip("/") root_path = req.scope.get("root_path", "").rstrip("/")
return get_redoc_html( return get_redoc_html(

Loading…
Cancel
Save