test_strings_in_custom_redoc() — fastapi Function Reference
Architecture documentation for the test_strings_in_custom_redoc() function in test_local_docs.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 6b1d5bf4_86fc_bedc_b063_2e1e4536d0ea["test_strings_in_custom_redoc()"] 62047866_e337_3c14_2193_c01cbd5b91aa["test_local_docs.py"] 6b1d5bf4_86fc_bedc_b063_2e1e4536d0ea -->|defined in| 62047866_e337_3c14_2193_c01cbd5b91aa 609573dc_dd8d_bd61_f42b_83a7d4873d61["get_redoc_html()"] 6b1d5bf4_86fc_bedc_b063_2e1e4536d0ea -->|calls| 609573dc_dd8d_bd61_f42b_83a7d4873d61 style 6b1d5bf4_86fc_bedc_b063_2e1e4536d0ea fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_local_docs.py lines 45–56
def test_strings_in_custom_redoc():
redoc_js_url = "fake_redoc_file.js"
redoc_favicon_url = "fake_redoc_file.png"
html = get_redoc_html(
openapi_url="/docs",
title="title",
redoc_js_url=redoc_js_url,
redoc_favicon_url=redoc_favicon_url,
)
body_content = html.body.decode()
assert redoc_js_url in body_content
assert redoc_favicon_url in body_content
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_strings_in_custom_redoc() do?
test_strings_in_custom_redoc() is a function in the fastapi codebase, defined in tests/test_local_docs.py.
Where is test_strings_in_custom_redoc() defined?
test_strings_in_custom_redoc() is defined in tests/test_local_docs.py at line 45.
What does test_strings_in_custom_redoc() call?
test_strings_in_custom_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