Commit 864f6b97 authored by Łukasz Nowak's avatar Łukasz Nowak

- abort previous transactions before tearing down


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43431 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f32a3dea
......@@ -107,6 +107,7 @@ class TestOOoImportMixin(ERP5TypeTestCase):
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()])
......
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