summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_mixins.py
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-02-01 07:13:39 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 11:04:38 +0100
commit097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 (patch)
tree7042be9ee3aabda10ecfa8923a113388b81f34a8 /tests/auth_tests/test_mixins.py
parent8c660fb59239828583f17cdede3b64f208b8752c (diff)
Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
Diffstat (limited to 'tests/auth_tests/test_mixins.py')
-rw-r--r--tests/auth_tests/test_mixins.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auth_tests/test_mixins.py b/tests/auth_tests/test_mixins.py
index fc92175f38..df3479cb23 100644
--- a/tests/auth_tests/test_mixins.py
+++ b/tests/auth_tests/test_mixins.py
@@ -51,7 +51,6 @@ class StackedMixinsView2(
class AccessMixinTests(TestCase):
-
factory = RequestFactory()
def test_stacked_mixins_success(self):
@@ -134,7 +133,6 @@ class AccessMixinTests(TestCase):
class UserPassesTestTests(SimpleTestCase):
-
factory = RequestFactory()
def _test_redirect(self, view=None, url="/accounts/login/?next=/rand"):
@@ -213,7 +211,6 @@ class UserPassesTestTests(SimpleTestCase):
class LoginRequiredMixinTests(TestCase):
-
factory = RequestFactory()
@classmethod
@@ -243,7 +240,6 @@ class LoginRequiredMixinTests(TestCase):
class PermissionsRequiredMixinTests(TestCase):
-
factory = RequestFactory()
@classmethod