diff --git a/Main/views.py b/Main/views.py index 43b7102..8937182 100644 --- a/Main/views.py +++ b/Main/views.py @@ -817,10 +817,12 @@ def error_500_handler(request) -> HttpResponse: return Error500.as_view()(request) + # noinspection PyUnusedLocal def csrf_failure_view(request, reason=""): return Error403.as_view()(request) + # Leaderboard diff --git a/tests/test_auth.py b/tests/test_auth.py index dbe40b3..ff6b0e6 100644 --- a/tests/test_auth.py +++ b/tests/test_auth.py @@ -23,7 +23,7 @@ class LogoutTest(SimpleBaseCase): LDAP_BASE_CONTEXT="ou=ITP Users,dc=itp,dc=example,dc=com", LDAP_URL="0.0.0.0", LDAP_ADMIN_NAME="example\\admin", - LDAP_ADMIN_EMAIL="admin@example.com" + LDAP_ADMIN_EMAIL="admin@example.com", ) class LDAPAuthTest(SimpleBaseCase): url = reverse("login")