self.assertEqual(t.render(c), output)

def test_for_tag_multi(self):
    template = '{% for x in x_list; y in y_list %}{{ x }}:{{ y }}/{% endfor %}'
context = {'x_list': ('one', 1, 'carrot'), 'y_list': ('two', 2, 'orange')}
output = 'one:two/1:2/carrot:orange/'
self.tag_test(template, context, output)
Testing a custom Django template filter