diff --git a/tests/tests.py b/tests/tests.py index 24e6dde..f47eb63 100644 --- a/tests/tests.py +++ b/tests/tests.py @@ -282,7 +282,7 @@ def test_redirect(self): def test_public(self): self.login() - res = self.client.get('/logout/') + res = self.client.post('/logout/') self.assertEqual(res.status_code, 302) self.assertEqual(res.url, '/')