diff --git a/hyde/tests/test_jinja2template.py b/hyde/tests/test_jinja2template.py index f41ed93..734fd70 100644 --- a/hyde/tests/test_jinja2template.py +++ b/hyde/tests/test_jinja2template.py @@ -85,6 +85,7 @@ def test_typogrify(): """ t = Jinja2Template(JINJA2.path) t.configure(None) + t.env.filters['dateformat'] = dateformat html = t.render(source, {}).strip() assert html == u'One & two' @@ -110,6 +111,7 @@ def test_spaceless(): """ t = Jinja2Template(JINJA2.path) t.configure(None) + t.env.filters['dateformat'] = dateformat html = t.render(source, {}).strip() expected = u"""