Commit e641651b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

test: getUserByLogin no longer exists.

parent b465f196
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
import unittest import unittest
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.tests.utils import createZODBPythonScript from Products.ERP5Type.tests.utils import createZODBPythonScript
from unittest import expectedFailure
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from AccessControl.SecurityManagement import getSecurityManager from AccessControl.SecurityManagement import getSecurityManager
from Products.PluggableAuthService import PluggableAuthService from Products.PluggableAuthService import PluggableAuthService
...@@ -761,6 +762,7 @@ class TestLocalRoleManagement(ERP5TypeTestCase): ...@@ -761,6 +762,7 @@ class TestLocalRoleManagement(ERP5TypeTestCase):
self.assertFalse('Assignor' in self.assertFalse('Assignor' in
getSecurityManager().getUser().getRolesInContext(obj)) getSecurityManager().getUser().getRolesInContext(obj))
@expectedFailure
def testGetUserByLogin(self): def testGetUserByLogin(self):
"""Test getUserByLogin method """Test getUserByLogin method
""" """
......
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