Commit 458060f6 authored by Alexandre Boeglin's avatar Alexandre Boeglin

clearCache() was not useful here, removed.

However, using the "logout(); clearCache(); login()" sequence is required in
more complex tests, after modifying any object which has an impact on security
group assignments through ERP5GroupManager.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5116 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0d4dc16
...@@ -36,7 +36,6 @@ from Testing import ZopeTestCase ...@@ -36,7 +36,6 @@ from Testing import ZopeTestCase
from DateTime import DateTime from DateTime import DateTime
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from Products.ERP5Type.Utils import convertToUpperCase from Products.ERP5Type.Utils import convertToUpperCase
from Products.ERP5Type.Cache import clearCache
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Type.tests.Sequence import SequenceList
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
...@@ -250,7 +249,6 @@ class TestERP5BankingCashTransfer(ERP5TypeTestCase): ...@@ -250,7 +249,6 @@ class TestERP5BankingCashTransfer(ERP5TypeTestCase):
# Finally, login as user_1 # Finally, login as user_1
self.logout() self.logout()
clearCache()
self.login('user_1') self.login('user_1')
......
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