[Erp5-report] r31878 leonardo - /erp5/trunk/products/ERP5/tests/testCRM.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 21 15:39:47 CET 2010


Author: leonardo
Date: Thu Jan 21 15:39:46 2010
New Revision: 31878

URL: http://svn.erp5.org?rev=31878&view=rev
Log:
don't hide activity errors

Modified:
    erp5/trunk/products/ERP5/tests/testCRM.py

Modified: erp5/trunk/products/ERP5/tests/testCRM.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testCRM.py?rev=31878&r1=31877&r2=31878&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testCRM.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testCRM.py [utf8] Thu Jan 21 15:39:46 2010
@@ -65,7 +65,6 @@
 
   def beforeTearDown(self):
     transaction.abort()
-    self.getActivityTool().manageClearActivities()
     # restore the original MailHost
     if self.oldMailHost is not None:
       self.portal.manage_delObjects(['MailHost'])
@@ -75,8 +74,7 @@
       module = getattr(self.portal, module_name)
       module.manage_delObjects(list(module.objectIds()))
 
-    transaction.commit()
-    self.tic()
+    self.stepTic()
     super(BaseTestCRM, self).beforeTearDown()
 
 class TestCRM(BaseTestCRM):




More information about the Erp5-report mailing list