Commit dc561c4f authored by Łukasz Nowak's avatar Łukasz Nowak

- invalidated Person objects *are* system users (==they are able to login)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30898 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c228ebe1
......@@ -333,7 +333,7 @@ class TestUserManagement(ERP5TypeTestCase):
self._assertUserDoesNotExists('the_user', 'secret')
def test_InvalidatedPersonIsNotUser(self):
def test_InvalidatedPersonIsUser(self):
p = self._makePerson(reference='the_user', password='secret')
self._assertUserExists('the_user', 'secret')
......@@ -341,7 +341,7 @@ class TestUserManagement(ERP5TypeTestCase):
p.invalidate()
transaction.commit()
self._assertUserDoesNotExists('the_user', 'secret')
self._assertUserExists('the_user', 'secret')
class TestLocalRoleManagement(ERP5TypeTestCase):
"""Tests Local Role Management with ERP5Security.
......
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