[Erp5-report] r17636 - /erp5/trunk/products/ERP5OOo/tests/testIngestion.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 15 16:38:29 CET 2007


Author: yusei
Date: Thu Nov 15 16:38:29 2007
New Revision: 17636

URL: http://svn.erp5.org?rev=17636&view=rev
Log:
Clear cache after each test. Previous test's cache caused bug.

Modified:
    erp5/trunk/products/ERP5OOo/tests/testIngestion.py

Modified: erp5/trunk/products/ERP5OOo/tests/testIngestion.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testIngestion.py?rev=17636&r1=17635&r2=17636&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testIngestion.py (original)
+++ erp5/trunk/products/ERP5OOo/tests/testIngestion.py Thu Nov 15 16:38:29 2007
@@ -107,6 +107,9 @@
     self.setSystemPreference()
     self.createTools()
     self.setSimulatedNotificationScript()
+
+  def beforeTearDown(self):
+    self.portal.portal_caches.clearAllCache()
 
   def createTools(self):
     """




More information about the Erp5-report mailing list