def setUp(self):
        self.r_patcher = patch('redis_metrics.models.R')
        self.mock_r = self.r_patcher.start()
Patch the ``R`` class.
dataset/ETHPy150Open bradmontgomery/django-redis-metrics/redis_metrics/tests/test_templatetags.py/TestTemplateTags.setUp