def test__build_keys_weekly_week_starts_monday(self):
        test_settings = TEST_SETTINGS.copy()
        test_settings['MONDAY_FIRST_DAY_OF_WEEK'] = True
        with override_settings(REDIS_METRICS=test_settings):
            d = datetime(2012, 4, 1)  # April Fools!
            keys = self.r._build_keys('test-slug', date=d, granularity='weekly')
            self.assertEqual(keys, ['m:test-slug:w:2012-13'])
Validates the application of this backend to a given metadata
dataset/ETHPy150Open bradmontgomery/django-redis-metrics/redis_metrics/tests/test_models.py/TestR.test__build_keys_weekly_week_starts_monday--crossover with--dataset/ETHPy150Open willhardy/django-seo/rollyourown/seo/backends.py/ModelBackend.validate