mirror of
https://gitlab.crans.org/bde/nk20
synced 2024-11-26 18:37:12 +00:00
Index page is a redirection
This commit is contained in:
parent
e5e758f9d9
commit
0078eb8f90
@ -41,7 +41,7 @@ class TemplateLoggedInTests(TestCase):
|
|||||||
password="adminadmin",
|
password="adminadmin",
|
||||||
permission_mask=3,
|
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):
|
def test_logout(self):
|
||||||
response = self.client.get(reverse("logout"))
|
response = self.client.get(reverse("logout"))
|
||||||
|
Loading…
Reference in New Issue
Block a user