File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ def test_login_and_logout(self):
9898 self .assertEqual (urlsplit (r ["Location" ])[2 ], urlreverse (ietf .ietfauth .views .profile ))
9999
100100 # try logging out
101- r = self .client .get (urlreverse ('django.contrib.auth.views.logout' ))
101+ r = self .client .post (urlreverse ('django.contrib.auth.views.logout' ), {} )
102102 self .assertEqual (r .status_code , 200 )
103103 self .assertNotContains (r , "accounts/logout" )
104104
@@ -215,7 +215,7 @@ def test_create_allowlisted_account(self):
215215 self .assertContains (r , "Allowlist entry creation successful" )
216216
217217 # log out
218- r = self .client .get (urlreverse ('django.contrib.auth.views.logout' ))
218+ r = self .client .post (urlreverse ('django.contrib.auth.views.logout' ), {} )
219219 self .assertEqual (r .status_code , 200 )
220220
221221 # register and verify allowlisted email
You can’t perform that action at this time.
0 commit comments