[Erp5-report] r43431 luke - /erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 17 16:28:06 CET 2011
Author: luke
Date: Thu Feb 17 16:28:06 2011
New Revision: 43431
URL: http://svn.erp5.org?rev=43431&view=rev
Log:
- abort previous transactions before tearing down
Modified:
erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
Modified: erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testOOoImport.py?rev=43431&r1=43430&r2=43431&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testOOoImport.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testOOoImport.py [utf8] Thu Feb 17 16:28:06 2011
@@ -107,6 +107,7 @@ class TestOOoImportMixin(ERP5TypeTestCas
self.tic()
def beforeTearDown(self):
+ transaction.abort()
region = self.portal.portal_categories.region
region.manage_delObjects(list(region.objectIds()))
self.portal.portal_preferences.manage_delObjects([self.pref.getId()])
More information about the Erp5-report
mailing list