def test_get_all_analytics(self):
        with patch(settings, 'LEAN_ANALYTICS', NotImplemented):
            reset_caches()
            self.assertEqual(get_all_analytics(), [])
        with patch(settings, 'LEAN_ANALYTICS', []):
            reset_caches()
            self.assertEqual(get_all_analytics(), [])
        base_name = (BaseAnalytics.__module__, BaseAnalytics.__name__) % '%s.%s'
        with patch(settings, 'LEAN_ANALYTICS', [base_name]):
            reset_caches()
            self.assertEqual([a.__class__.__name__ for a in get_all_analytics()],
                             [BaseAnalytics.__name__])


#############
# KISSMETRICS
#############
dataset/ETHPy150Open e-loue/django-lean/django_lean/lean_analytics/tests.py/TestAnalytics.test_get_all_analytics/swapped operands of `%`