From 254a05d2d41ffbbbe301c770e369559e14fbef2b Mon Sep 17 00:00:00 2001 From: Hodossy Szabolcs Date: Tue, 26 Sep 2017 08:18:36 +0200 Subject: [PATCH] This should have stayed --- categories/tests/test_templatetags.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/categories/tests/test_templatetags.py b/categories/tests/test_templatetags.py index ba6d35e..f099715 100644 --- a/categories/tests/test_templatetags.py +++ b/categories/tests/test_templatetags.py @@ -14,7 +14,8 @@ class CategoryTagsTest(TestCase): Return the rendered string or raise an exception. """ tpl = template.Template(template_string) - return tpl.render(context) + ctxt = template.Context(context) + return tpl.render(ctxt) def testTooFewArguments(self): """