Index page is a redirection

This commit is contained in:
Yohann D'ANELLO 2020-10-07 11:53:42 +02:00
parent e5e758f9d9
commit 0078eb8f90
1 changed files with 1 additions and 1 deletions

View File

@ -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"))