Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Romain Courteaud
erp5_rtl_support
Commits
823db600
Commit
823db600
authored
Jul 19, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow real case.
parent
3e3a860e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
product/ERP5/tests/testERP5Credential.py
product/ERP5/tests/testERP5Credential.py
+4
-3
No files found.
product/ERP5/tests/testERP5Credential.py
View file @
823db600
...
@@ -1032,9 +1032,10 @@ class TestERP5Credential(ERP5TypeTestCase):
...
@@ -1032,9 +1032,10 @@ class TestERP5Credential(ERP5TypeTestCase):
self.assertEquals(credential_request.getFunction(), "
member
")
self.assertEquals(credential_request.getFunction(), "
member
")
credential_request.submit()
credential_request.submit()
credential_request.accept
()
self.portal.portal_alarms.accept_submitted_credentials.activeSense
()
transaction.commit()
transaction.commit()
self.tic()
self.tic()
self.assertEqual('accepted', credential_request.getValidationState())
self._createCredentialRequest()
self._createCredentialRequest()
credential_request = portal_catalog.getResultValue(
credential_request = portal_catalog.getResultValue(
...
@@ -1042,11 +1043,11 @@ class TestERP5Credential(ERP5TypeTestCase):
...
@@ -1042,11 +1043,11 @@ class TestERP5Credential(ERP5TypeTestCase):
validation_state="
draft
")
validation_state="
draft
")
credential_request.submit()
credential_request.submit()
credential_request.accept
()
self.portal.portal_alarms.accept_submitted_credentials.activeSense
()
transaction.commit()
transaction.commit()
self.tic()
self.tic()
self.stepUnSetCredentialAutomaticApprovalPreferences()
raise NotImplementedError('Real case is not known yet.')
raise NotImplementedError('Real case is not known yet.')
self.stepUnSetCredentialAutomaticApprovalPreferences()
def testERP5Site_newCredentialRecoveryWithNoSecurityQuestion(self):
def testERP5Site_newCredentialRecoveryWithNoSecurityQuestion(self):
"""
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment