MCPcopy Create free account
hub / github.com/pallets/quart / test_template_render

Function test_template_render

tests/test_templating.py:36–39  ·  view source on GitHub ↗
(app: Quart)

Source from the content-addressed store, hash-verified

34
35
36async def test_template_render(app: Quart) -> None:
37 async with app.app_context():
38 rendered = await render_template_string("{{ foo }}", foo="bar")
39 assert rendered == "bar"
40
41
42async def test_default_template_context(app: Quart) -> None:

Callers

nothing calls this directly

Calls 2

render_template_stringFunction · 0.90
app_contextMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…