summaryrefslogtreecommitdiff
path: root/tests/check_framework
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check_framework')
-rw-r--r--tests/check_framework/test_security.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/check_framework/test_security.py b/tests/check_framework/test_security.py
index 9bf9bb2a0a..3a3b9cf774 100644
--- a/tests/check_framework/test_security.py
+++ b/tests/check_framework/test_security.py
@@ -486,13 +486,13 @@ class CSRFFailureViewTest(SimpleTestCase):
[
Error(
"The CSRF failure view '' could not be imported.",
- id='security.E025',
+ id='security.E102',
)
],
)
@override_settings(
- CSRF_FAILURE_VIEW=f'{__name__}.failure_view_with_invalid_signature',
+ CSRF_FAILURE_VIEW='check_framework.test_security.failure_view_with_invalid_signature',
)
def test_failure_view_invalid_signature(self):
msg = (
@@ -502,5 +502,5 @@ class CSRFFailureViewTest(SimpleTestCase):
)
self.assertEqual(
csrf.check_csrf_failure_view(None),
- [Error(msg, id='security.E024')],
+ [Error(msg, id='security.E101')],
)