def test_provider_by_alias(self):
        by_alias = get_providers_by_alias()
        self.assertTrue(len(by_alias) > 0)
        self.assertTrue(isinstance(by_alias, dict))
        for alias, p_cls in by_alias.items():
            self.assertTrue(issubclass(p_cls, MetricsProvider))
dataset/ETHPy150Open idlesign/django-sitemetrics/sitemetrics/tests.py/UtilsTest.test_provider_by_alias/original