

@override_settings(SITEMETRICS_PROVIDERS=('sitemetrics.tests.CustomizedProvider',))
def test_customized(self):
    providers = get_custom_providers()
    self.assertEqual(len(providers), 1)
    self.assertEqual(providers[0].get_params(), CustomizedProvider.params)

dataset/ETHPy150Open idlesign/django-sitemetrics/sitemetrics/tests.py ProvidersTest.test_customized/original