MCPcopy
hub / github.com/pallets/jinja / test_layout

Method test_layout

tests/test_inheritance.py:78–82  ·  view source on GitHub ↗
(self, env)

Source from the content-addressed store, hash-verified

76
77class TestInheritance:
78 def test_layout(self, env):
79 tmpl = env.get_template("layout")
80 assert tmpl.render() == (
81 "|block 1 from layout|block 2 from layout|nested block 4 from layout|"
82 )
83
84 def test_level1(self, env):
85 tmpl = env.get_template("level1")

Callers

nothing calls this directly

Calls 2

get_templateMethod · 0.80
renderMethod · 0.45

Tested by

no test coverage detected