Commits

Andriy Kornatskyy  committed 9b38341

CoreExtension needs to be instantiated.

  • Participants
  • Parent commits 2bb68c3

Comments (0)

Files changed (2)

             'jinja2>=2.6'
         ],
         'wheezy.template': [
-            'wheezy.template>=0.1.75'
+            'wheezy.template>=0.1.85'
         ]
     },
 

File src/wheezy/html/ext/tests/test_template.py

         engine = Engine(
             loader=DictLoader({
                 'x': "@require(model, errors, message, scm)\n" + text}),
-            extensions=[CoreExtension, WidgetExtension])
+            extensions=[CoreExtension(), WidgetExtension()])
         engine.global_vars.update({'h': html_escape})
         template = engine.get_template('x')
         value = template.render(kwargs)