From e78cb1db0408023029f897195ee6aef996600dc6 Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Mon, 9 May 2011 22:09:39 +0530 Subject: [PATCH] Fixed a failing test --- hyde/tests/test_jinja2template.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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"""