handle() — flask Function Reference
Architecture documentation for the handle() function in test_templating.py from the flask codebase.
Entity Profile
Dependency Diagram
graph TD 587a7c9c_937c_fc25_93be_ccb450351bc5["handle()"] b477f3cc_d17d_8cc7_0ec4_a5fa6d4f2df1["_TestHandler"] 587a7c9c_937c_fc25_93be_ccb450351bc5 -->|defined in| b477f3cc_d17d_8cc7_0ec4_a5fa6d4f2df1 e466847f_1bc8_e48a_8e04_30ca25d0948c["test_template_loader_debugging()"] e466847f_1bc8_e48a_8e04_30ca25d0948c -->|calls| 587a7c9c_937c_fc25_93be_ccb450351bc5 style 587a7c9c_937c_fc25_93be_ccb450351bc5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_templating.py lines 494–508
def handle(self, record):
called.append(True)
text = str(record.msg)
assert "1: trying loader of application 'blueprintapp'" in text
assert (
"2: trying loader of blueprint 'admin' (blueprintapp.apps.admin)"
) in text
assert (
"trying loader of blueprint 'frontend' (blueprintapp.apps.frontend)"
) in text
assert "Error: the template could not be found" in text
assert (
"looked up from an endpoint that belongs to the blueprint 'frontend'"
) in text
assert "See https://flask.palletsprojects.com/blueprints/#templates" in text
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does handle() do?
handle() is a function in the flask codebase, defined in tests/test_templating.py.
Where is handle() defined?
handle() is defined in tests/test_templating.py at line 494.
What calls handle()?
handle() is called by 1 function(s): test_template_loader_debugging.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free