Skip to content

Commit

Permalink
no reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
dulmandakh committed Sep 17, 2024
1 parent 06615d4 commit 513b764
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/test_login_not_required.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import django
from django.test import SimpleTestCase, override_settings
from django.urls import reverse


@unittest.skipIf(
Expand All @@ -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)

0 comments on commit 513b764

Please sign in to comment.