diff --git a/product/ERP5/tests/testOrder.py b/product/ERP5/tests/testOrder.py index fb0b53605663b906a1e6654256064616877168ac..2fc2ff83866b2951fb848656c1d6e56788129a4f 100644 --- a/product/ERP5/tests/testOrder.py +++ b/product/ERP5/tests/testOrder.py @@ -747,7 +747,10 @@ class TestOrderMixin: Test if order cell acquired some order line properties """ order_line = sequence.get('order_line') - cell = order_line.getCellValueList()[0] + cell_list = order_line.getCellValueList() + self.assertTrue(len(cell_list) > 0) + cell = cell_list[0] + self.checkAcquisition(cell, order_line) # Test resource self.assertEquals(order_line.getResource(), \