Skip to content

Commit

Permalink
This should have stayed
Browse files Browse the repository at this point in the history
  • Loading branch information
Hodossy Szabolcs committed Sep 26, 2017
1 parent 829d1cc commit 254a05d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion categories/tests/test_templatetags.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def render_template(self, template_string, context={}):
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):
"""
Expand Down

0 comments on commit 254a05d

Please sign in to comment.