test_google_fonts_in_generated_redoc() — fastapi Function Reference
Architecture documentation for the test_google_fonts_in_generated_redoc() function in test_local_docs.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD ff4198db_0293_f547_8f5e_2e9abc1c8717["test_google_fonts_in_generated_redoc()"] 62047866_e337_3c14_2193_c01cbd5b91aa["test_local_docs.py"] ff4198db_0293_f547_8f5e_2e9abc1c8717 -->|defined in| 62047866_e337_3c14_2193_c01cbd5b91aa 609573dc_dd8d_bd61_f42b_83a7d4873d61["get_redoc_html()"] ff4198db_0293_f547_8f5e_2e9abc1c8717 -->|calls| 609573dc_dd8d_bd61_f42b_83a7d4873d61 style ff4198db_0293_f547_8f5e_2e9abc1c8717 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_local_docs.py lines 59–67
def test_google_fonts_in_generated_redoc():
body_with_google_fonts = get_redoc_html(
openapi_url="/docs", title="title"
).body.decode()
assert "fonts.googleapis.com" in body_with_google_fonts
body_without_google_fonts = get_redoc_html(
openapi_url="/docs", title="title", with_google_fonts=False
).body.decode()
assert "fonts.googleapis.com" not in body_without_google_fonts
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_google_fonts_in_generated_redoc() do?
test_google_fonts_in_generated_redoc() is a function in the fastapi codebase, defined in tests/test_local_docs.py.
Where is test_google_fonts_in_generated_redoc() defined?
test_google_fonts_in_generated_redoc() is defined in tests/test_local_docs.py at line 59.
What does test_google_fonts_in_generated_redoc() call?
test_google_fonts_in_generated_redoc() calls 1 function(s): get_redoc_html.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free