Home / Function/ test_swagger_ui_oauth2_redirect_html() — fastapi Function Reference

test_swagger_ui_oauth2_redirect_html() — fastapi Function Reference

Architecture documentation for the test_swagger_ui_oauth2_redirect_html() function in test_tutorial001.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  0ceea59e_3d7e_517f_6437_eb19f2255bef["test_swagger_ui_oauth2_redirect_html()"]
  9f9bd4b0_1cad_90ba_a82e_141dce5c9f58["test_tutorial001.py"]
  0ceea59e_3d7e_517f_6437_eb19f2255bef -->|defined in| 9f9bd4b0_1cad_90ba_a82e_141dce5c9f58
  style 0ceea59e_3d7e_517f_6437_eb19f2255bef fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py lines 27–30

def test_swagger_ui_oauth2_redirect_html(client: TestClient):
    response = client.get("/docs/oauth2-redirect")
    assert response.status_code == 200, response.text
    assert "window.opener.swaggerUIRedirectOauth2" in response.text

Domain

Subdomains

Frequently Asked Questions

What does test_swagger_ui_oauth2_redirect_html() do?
test_swagger_ui_oauth2_redirect_html() is a function in the fastapi codebase, defined in tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py.
Where is test_swagger_ui_oauth2_redirect_html() defined?
test_swagger_ui_oauth2_redirect_html() is defined in tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py at line 27.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free