Commit d53008e4 authored by Sebastien Robin's avatar Sebastien Robin

this was a bad idea to remove the commit at the beginning of teardown because of pending messages

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13432 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 73b2a191
...@@ -262,6 +262,9 @@ class TestImmobilisationMixin(TestOrderMixin, ERP5TypeTestCase): ...@@ -262,6 +262,9 @@ class TestImmobilisationMixin(TestOrderMixin, ERP5TypeTestCase):
self.logout() self.logout()
self.login('manager') self.login('manager')
get_transaction().commit()
self.tic()
simulation_id_list = [r for r in self.getPortal().portal_simulation.objectIds()] simulation_id_list = [r for r in self.getPortal().portal_simulation.objectIds()]
self.getPortal().portal_simulation.manage_delObjects(simulation_id_list) self.getPortal().portal_simulation.manage_delObjects(simulation_id_list)
......
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