test_include_empty() — fastapi Function Reference
Architecture documentation for the test_include_empty() function in test_empty_router.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD f45e4bcc_24f5_58e9_e2f0_427988cacb32["test_include_empty()"] 05ab92b4_4812_4a30_e766_7f42082c7523["test_empty_router.py"] f45e4bcc_24f5_58e9_e2f0_427988cacb32 -->|defined in| 05ab92b4_4812_4a30_e766_7f42082c7523 style f45e4bcc_24f5_58e9_e2f0_427988cacb32 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_empty_router.py lines 33–36
def test_include_empty():
# if both include and router.path are empty - it should raise exception
with pytest.raises(FastAPIError):
app.include_router(router)
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_include_empty() do?
test_include_empty() is a function in the fastapi codebase, defined in tests/test_empty_router.py.
Where is test_include_empty() defined?
test_include_empty() is defined in tests/test_empty_router.py at line 33.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free