def test_reset_cache_redirects_to_custom_admin(self):
        cache_url = reverse('admin:treenav_clean_cache',
                            current_app='admin2')
        response = self.client.get(cache_url, follow=True)
        changelist_url = reverse('admin:%s_%s_changelist' % self.info,
                                 current_app='admin2')
        self.assertRedirects(response, changelist_url)
After cleaning cache, redirects to custom admin.
dataset/ETHPy150Open caktus/django-treenav/treenav/tests/test_views.py/ClearCacheViewTestCase.test_reset_cache_redirects_to_custom_admin