summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_mixins.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth_tests/test_mixins.py')
-rw-r--r--tests/auth_tests/test_mixins.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auth_tests/test_mixins.py b/tests/auth_tests/test_mixins.py
index 0a0c5ccdf4..70e8f27675 100644
--- a/tests/auth_tests/test_mixins.py
+++ b/tests/auth_tests/test_mixins.py
@@ -238,7 +238,7 @@ class PermissionsRequiredMixinTests(TestCase):
def test_permissioned_denied_redirect(self):
class AView(PermissionRequiredMixin, EmptyResponseView):
permission_required = [
- 'auth_tests.add_customuser', 'auth_tests.change_customuser', 'non-existent-permission',
+ 'auth_tests.add_customuser', 'auth_tests.change_customuser', 'nonexistent-permission',
]
request = self.factory.get('/rand')
@@ -249,7 +249,7 @@ class PermissionsRequiredMixinTests(TestCase):
def test_permissioned_denied_exception_raised(self):
class AView(PermissionRequiredMixin, EmptyResponseView):
permission_required = [
- 'auth_tests.add_customuser', 'auth_tests.change_customuser', 'non-existent-permission',
+ 'auth_tests.add_customuser', 'auth_tests.change_customuser', 'nonexistent-permission',
]
raise_exception = True