MCPcopy Create free account
hub / github.com/pallets/flask / get_stuff

Function get_stuff

tests/test_templating.py:313–314  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

311def test_add_template_global(app, app_ctx):
312 @app.template_global()
313 def get_stuff():
314 return 42
315
316 assert "get_stuff" in app.jinja_env.globals.keys()
317 assert app.jinja_env.globals["get_stuff"] == get_stuff

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected