def test_get_all_analytics_names(self):
        with patch(settings, 'LEAN_ANALYTICS', NotImplemented):
            reset_caches()
            self.assertEqual(get_all_analytics_names(), ())
        with patch(settings, 'LEAN_ANALYTICS', []):
            reset_caches()
            self.assertEqual(get_all_analytics_names(), [])
        base_name = '%s.%s' % (BaseAnalytics.__module__, BaseAnalytics.__name__)
        with patch(settings, 'LEAN_ANALYTICS', [base_name]):
            reset_caches()
            self.assertEqual(get_all_analytics_names(), [base_name])
dataset/ETHPy150Open e-loue/django-lean/django_lean/lean_analytics/tests.py/TestAnalytics.test_get_all_analytics_names/original