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

Method test_level1

tests/test_inheritance.py:84–88  ·  tests/test_inheritance.py::TestInheritance.test_level1
(self, env)

Source from the content-addressed store, hash-verified

82 )
83
84 def test_level1(self, env):
85 tmpl = env.get_template(class="st">"level1")
86 assert tmpl.render() == (
87 class="st">"|block 1 from level1|block 2 from layout|nested block 4 from layout|"
88 )
89
90 def test_level2(self, env):
91 tmpl = env.get_template(class="st">"level2")

Callers

nothing calls this directly

Calls 2

get_templateMethod · 0.80
renderMethod · 0.45

Tested by

no test coverage detected