Lines Matching refs:env
59 def env(): function
77 def test_layout(self, env): argument
78 tmpl = env.get_template("layout")
83 def test_level1(self, env): argument
84 tmpl = env.get_template("level1")
89 def test_level2(self, env): argument
90 tmpl = env.get_template("level2")
96 def test_level3(self, env): argument
97 tmpl = env.get_template("level3")
102 def test_level4(self, env): argument
103 tmpl = env.get_template("level4")
108 def test_super(self, env): argument
109 env = Environment(
122 tmpl = env.get_template("c")
125 def test_working(self, env): argument
126 env.get_template("working")
128 def test_reuse_blocks(self, env): argument
129 tmpl = env.from_string(
134 def test_preserve_blocks(self, env): argument
135 env = Environment(
144 tmpl = env.get_template("b")
147 def test_dynamic_inheritance(self, env): argument
148 env = Environment(
157 tmpl = env.get_template("child")
161 def test_multi_inheritance(self, env): argument
162 env = Environment(
172 tmpl = env.get_template("child")
177 def test_scoped_block(self, env): argument
178 env = Environment(
186 t = env.from_string(
191 def test_super_in_scoped_block(self, env): argument
192 env = Environment(
200 t = env.from_string(
206 def test_scoped_block_after_inheritance(self, env): argument
207 env = Environment(
230 rv = env.get_template("index.html").render(the_foo=42).split()
235 def test_fixed_macro_scoping_bug(self, env): argument
279 def test_double_extends(self, env): argument
284 env.get_template("doublee").render()