From 0078eb8f90f0326885ab17f73ba1f4f3b15a842a Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Wed, 7 Oct 2020 11:53:42 +0200 Subject: [PATCH] Index page is a redirection --- apps/member/tests/test_login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/member/tests/test_login.py b/apps/member/tests/test_login.py index e022c4ea..c9fabf82 100644 --- a/apps/member/tests/test_login.py +++ b/apps/member/tests/test_login.py @@ -41,7 +41,7 @@ class TemplateLoggedInTests(TestCase): password="adminadmin", permission_mask=3, )) - self.assertRedirects(response, settings.LOGIN_REDIRECT_URL, 302, 200) + self.assertRedirects(response, settings.LOGIN_REDIRECT_URL, 302, 302) def test_logout(self): response = self.client.get(reverse("logout"))