diff --git a/product/ERP5/tests/testInvoice.py b/product/ERP5/tests/testInvoice.py index f319babfb3ad790519e6dc82e4a66365fbf84f86..0a1470f46620b6809cb5a1ba8b037c06c4505cc0 100644 --- a/product/ERP5/tests/testInvoice.py +++ b/product/ERP5/tests/testInvoice.py @@ -1478,7 +1478,7 @@ self.portal.getDefaultModule(self.packing_list_portal_type).newContent( # accept decision builder_list = invoice.getBuilderList() - self.assertEquals(3, len(builder_list)) + self.assertEquals(1, len(builder_list)) for builder in builder_list: builder.solveDivergence(invoice.getRelativeUrl(), divergence_to_accept_list=divergence_list) @@ -1538,7 +1538,7 @@ self.portal.getDefaultModule(self.packing_list_portal_type).newContent( # adopt prevision builder_list = invoice.getBuilderList() - self.assertEquals(3, len(builder_list)) + self.assertEquals(1, len(builder_list)) for builder in builder_list: builder.solveDivergence(invoice.getRelativeUrl(), divergence_to_adopt_list=divergence_list) @@ -3382,7 +3382,7 @@ class TestSaleInvoice(TestSaleInvoiceMixin, TestInvoice, ERP5TypeTestCase): # accept decision builder_list = invoice.getBuilderList() - self.assertEquals(3, len(builder_list)) + self.assertEquals(1, len(builder_list)) for builder in builder_list: builder.solveDivergence(invoice.getRelativeUrl(), divergence_to_accept_list=divergence_list)