New logout_bare() for shell logout and refactor test using it

This commit is contained in:
Hardirc
2016-04-06 22:46:24 -04:00
parent ff0d10ac4f
commit e0d86462c8
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -250,7 +250,7 @@ class TestAuth(unittest.TestCase):
self.assertTrue('name="_formkey"' in html_form)
# NOTE: Not sure it is the proper way to logout_bare() as there is not methods for that and auth.logout() failed
self.auth.user = None
self.auth.logout_bare()
# self.assertTrue(self.auth.is_logged_in())
for f in ['logout', 'verify_email', 'reset_password',