Skip to content

Commit 848a5f4

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent f38d74c commit 848a5f4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tests/test_login_not_required.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import unittest
2-
import django
32

3+
import django
44
from django.test import SimpleTestCase, override_settings
5-
from django.urls import reverse
65

76

8-
@unittest.skipIf(django.VERSION < (5, 1),
9-
"Django below 5.1 is not supported login_not_required")
7+
@unittest.skipIf(
8+
django.VERSION < (5, 1), "Django below 5.1 is not supported login_not_required"
9+
)
1010
class LoginNotRequiredTestCase(SimpleTestCase):
1111
@override_settings(
1212
MIDDLEWARE=[
@@ -21,6 +21,8 @@ def test_login_not_required(self):
2121
raise Exception("Django 5.1")
2222
# render_panel
2323
# self.client.get(reverse('dj'))
24+
25+
2426
# DEBUG_TOOLBAR_CONFIG = {
2527
# # Django's test client sets wsgi.multiprocess to True inappropriately
2628
# "RENDER_PANELS": False,

0 commit comments

Comments
 (0)