Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
e85a6766
Commit
e85a6766
authored
Jan 12, 2017
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! testERP5Security: test ERP5UserLoginManager compliance to PAS interfaces
parent
837a3165
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ERP5Security/tests/testERP5Security.py
product/ERP5Security/tests/testERP5Security.py
+4
-4
No files found.
product/ERP5Security/tests/testERP5Security.py
View file @
e85a6766
...
...
@@ -94,13 +94,13 @@ class TestUserManagement(ERP5TypeTestCase):
verifyClass
(
IAuthenticationPlugin
,
ERP5UserManager
)
verifyClass
(
IUserEnumerationPlugin
,
ERP5UserManager
)
def
test_
UserLogin
ManagerInterfaces
(
self
):
def
test_
LoginUser
ManagerInterfaces
(
self
):
"""Tests user login manager plugin respects interfaces."""
from
Products.PluggableAuthService.interfaces.plugins
import
\
IAuthenticationPlugin
,
IUserEnumerationPlugin
from
Products.ERP5Security.ERP5
UserLoginManager
import
ERP5UserLogin
Manager
verifyClass
(
IAuthenticationPlugin
,
ERP5
UserLogin
Manager
)
verifyClass
(
IUserEnumerationPlugin
,
ERP5
UserLogin
Manager
)
from
Products.ERP5Security.ERP5
LoginUserManager
import
ERP5LoginUser
Manager
verifyClass
(
IAuthenticationPlugin
,
ERP5
LoginUser
Manager
)
verifyClass
(
IUserEnumerationPlugin
,
ERP5
LoginUser
Manager
)
def
test_UserFolder
(
self
):
"""Tests user folder has correct meta type."""
...
...
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