diff --git a/tests/test_login_not_required.py b/tests/test_login_not_required.py index c5086bce9..ddc3bd29e 100644 --- a/tests/test_login_not_required.py +++ b/tests/test_login_not_required.py @@ -2,7 +2,6 @@ import django from django.test import SimpleTestCase, override_settings -from django.urls import reverse @unittest.skipIf( @@ -17,8 +16,7 @@ class LoginNotRequiredTestCase(SimpleTestCase): "django.contrib.auth.middleware.LoginRequiredMiddleware", "debug_toolbar.middleware.DebugToolbarMiddleware", ], - DEBUG_TOOLBAR_CONFIG={"RENDER_PANELS": True}, ) def test_login_not_required(self): - response = self.client.get(reverse("djdt:history_sidebar")) + response = self.client.get("/__debug__/history_sidebar/") self.assertEqual(response.status_code, 200)