Commit f857a88e authored by Alexandre Boeglin's avatar Alexandre Boeglin

Fixed cell portal type.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7244 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7a164e16
...@@ -91,7 +91,7 @@ class TestXMLMatrix(ERP5TypeTestCase): ...@@ -91,7 +91,7 @@ class TestXMLMatrix(ERP5TypeTestCase):
i = 0 i = 0
for place in cartesianProduct(cell_range): for place in cartesianProduct(cell_range):
cell = matrix.newCell(portal_type="Delivery Cell", cell = matrix.newCell(portal_type="Purchase Order Cell",
*place, **kwd) *place, **kwd)
cell.test_id = i cell.test_id = i
i += 1 i += 1
...@@ -161,7 +161,7 @@ class TestXMLMatrix(ERP5TypeTestCase): ...@@ -161,7 +161,7 @@ class TestXMLMatrix(ERP5TypeTestCase):
i = 0 i = 0
for place in cartesianProduct(cell_range): for place in cartesianProduct(cell_range):
cell = matrix.newCell(portal_type="Delivery Cell", cell = matrix.newCell(portal_type="Purchase Order Cell",
*place, **kwd) *place, **kwd)
cell.test_id = i cell.test_id = i
i += 1 i += 1
...@@ -200,7 +200,7 @@ class TestXMLMatrix(ERP5TypeTestCase): ...@@ -200,7 +200,7 @@ class TestXMLMatrix(ERP5TypeTestCase):
self.assertEqual(matrix.getCellRange(**kwd), cell_range) self.assertEqual(matrix.getCellRange(**kwd), cell_range)
for place in cartesianProduct(cell_range): for place in cartesianProduct(cell_range):
cell = matrix.newCell(portal_type="Delivery Cell", cell = matrix.newCell(portal_type="Purchase Order Cell",
*place, **kwd) *place, **kwd)
get_transaction().commit() get_transaction().commit()
self.tic() self.tic()
......
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