Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Eteri
erp5_fork
Commits
c698eba2
Commit
c698eba2
authored
Mar 15, 2012
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add forgotten test case.
parent
fa32d71f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
product/ERP5/tests/testAuthenticationPolicy.py
product/ERP5/tests/testAuthenticationPolicy.py
+3
-0
No files found.
product/ERP5/tests/testAuthenticationPolicy.py
View file @
c698eba2
...
...
@@ -319,10 +319,13 @@ class TestAuthenticationPolicy(ERP5TypeTestCase):
for
password
in
[
'a'
,
'b'
,
'c'
,
'd'
,
'e'
,
'f'
]:
person
.
setPassword
(
password
)
self
.
stepTic
()
self
.
_clearCache
()
self
.
stepTic
()
self
.
assertTrue
(
person
.
isPasswordValid
(
'12345678-new'
))
self
.
assertTrue
(
person
.
isPasswordValid
(
'a'
))
self
.
assertTrue
(
person
.
isPasswordValid
(
'b'
))
self
.
assertTrue
(
person
.
isPasswordValid
(
'c'
))
# only last 3 (including current one are invalid)
self
.
assertSameSet
([
-
4
],
person
.
analyzePassword
(
'd'
))
self
.
assertSameSet
([
-
4
],
person
.
analyzePassword
(
'e'
))
...
...
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