Commit 1c9b4c6f authored by Aurel's avatar Aurel

commit transaction after creation of cells


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4005 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aca5985a
......@@ -196,6 +196,7 @@ class TestXMLMatrix(ERP5TypeTestCase):
for place in cartesianProduct(cell_range):
cell = matrix.newCell(*place, **kwd)
get_transaction().commit()
self.tic()
initial_cell_id_list = map(lambda x: x.getId(),matrix.objectValues())
for id in initial_cell_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