def test_to_int(self):
        self.assertEqual(to_int(u"3"), 3)
        self.assertEqual(to_int(u"asdf"), 0)
        self.assertEqual(to_int(None), 0)
Verify that the ``int`` filter converts strings to numbers and that
dataset/ETHPy150Open bradmontgomery/django-redis-metrics/redis_metrics/tests/test_templatetags.py/TestTemplateFilters.test_to_int