Commit 0e0f1ce3 authored by Romain Courteaud's avatar Romain Courteaud

Check password tool functionnalities with Anonymous User.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21447 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d06ff332
......@@ -261,6 +261,11 @@ class TestPasswordTool(ERP5TypeTestCase):
self.assertEqual(len(self.portal.portal_password.password_request_dict), 0)
def stepLogout(self, sequence=None, sequence_list=None, **kw):
"""
Logout
"""
self.logout()
# tests
def test_01_checkPasswordTool(self, quiet=quiet, run=run_all_test):
......@@ -272,6 +277,7 @@ class TestPasswordTool(ERP5TypeTestCase):
sequence_list = SequenceList()
sequence_string = 'CheckPasswordToolExists ' \
'AddUser Tic ' \
'Logout ' \
'CheckUserLogin CheckUserNotLoginWithBadPassword ' \
'TryLostPasswordWithBadUser Tic ' \
'CheckNoMailSent ' \
......@@ -298,6 +304,7 @@ class TestPasswordTool(ERP5TypeTestCase):
sequence_list = SequenceList()
sequence_string = 'CheckPasswordToolExists ' \
'AddUser Tic ' \
'Logout ' \
'CheckUserLogin CheckUserNotLoginWithBadPassword ' \
'LostPassword Tic ' \
'CheckMailSent ' \
......@@ -318,6 +325,7 @@ class TestPasswordTool(ERP5TypeTestCase):
sequence_list = SequenceList()
sequence_string = 'CheckPasswordToolExists ' \
'AddUser Tic ' \
'Logout ' \
'CheckUserLogin CheckUserNotLoginWithBadPassword ' \
'LostPassword Tic ' \
'CheckMailSent ' \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment