[Erp5-report] r30898 - /erp5/trunk/products/ERP5Security/tests/testERP5Security.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Nov 27 16:38:25 CET 2009
Author: luke
Date: Fri Nov 27 16:38:25 2009
New Revision: 30898
URL: http://svn.erp5.org?rev=30898&view=rev
Log:
- invalidated Person objects *are* system users (==they are able to login)
Modified:
erp5/trunk/products/ERP5Security/tests/testERP5Security.py
Modified: erp5/trunk/products/ERP5Security/tests/testERP5Security.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Security/tests/testERP5Security.py?rev=30898&r1=30897&r2=30898&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Security/tests/testERP5Security.py [utf8] (original)
+++ erp5/trunk/products/ERP5Security/tests/testERP5Security.py [utf8] Fri Nov 27 16:38:25 2009
@@ -333,7 +333,7 @@
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 @@
p.invalidate()
transaction.commit()
- self._assertUserDoesNotExists('the_user', 'secret')
+ self._assertUserExists('the_user', 'secret')
class TestLocalRoleManagement(ERP5TypeTestCase):
"""Tests Local Role Management with ERP5Security.
More information about the Erp5-report
mailing list