Home / Function/ test_macros() — flask Function Reference

test_macros() — flask Function Reference

Architecture documentation for the test_macros() function in test_templating.py from the flask codebase.

Entity Profile

Dependency Diagram

graph TD
  94ab08f7_4a4c_3d11_70b7_45c59e861a93["test_macros()"]
  b3595fee_7041_96b0_f59f_4080381c7deb["test_templating.py"]
  94ab08f7_4a4c_3d11_70b7_45c59e861a93 -->|defined in| b3595fee_7041_96b0_f59f_4080381c7deb
  style 94ab08f7_4a4c_3d11_70b7_45c59e861a93 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_templating.py lines 118–120

def test_macros(app, req_ctx):
    macro = flask.get_template_attribute("_macro.html", "hello")
    assert macro("World") == "Hello World!"

Subdomains

Frequently Asked Questions

What does test_macros() do?
test_macros() is a function in the flask codebase, defined in tests/test_templating.py.
Where is test_macros() defined?
test_macros() is defined in tests/test_templating.py at line 118.

Analyze Your Own Codebase

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

Try Supermodel Free