[Erp5-report] r13149 - /erp5/trunk/products/ERP5Security/tests/testERP5Security.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Mar 1 15:30:10 CET 2007


Author: romain
Date: Thu Mar  1 15:30:09 2007
New Revision: 13149

URL: http://svn.erp5.org?rev=13149&view=rev
Log:
Rename cache factory

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=13149&r1=13148&r2=13149&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Security/tests/testERP5Security.py (original)
+++ erp5/trunk/products/ERP5Security/tests/testERP5Security.py Thu Mar  1 15:30:09 2007
@@ -58,7 +58,7 @@
   def beforeTearDown(self):
     """Clears person module and invalidate caches when tests are finished."""
     # XXX Isn't it better to clear the cache when deleting a Person ?
-    clearCache(cache_factory_list=('erp5_core_short', ))
+    clearCache(cache_factory_list=('erp5_content_short', ))
     self.getPersonModule().manage_delObjects([x for x in
                              self.getPersonModule().objectIds()])
     get_transaction().commit()
@@ -248,7 +248,7 @@
     get_transaction().commit()
     self.tic()
     # XXX Isn't it better to clear the cache when deleting a Person ?
-    clearCache(cache_factory_list=('erp5_core_short', ))
+    clearCache(cache_factory_list=('erp5_content_short', ))
 
   def loginAsUser(self, username):
     uf = self.portal.acl_users




More information about the Erp5-report mailing list