Commit 9c091483 authored by Jérome Perrin's avatar Jérome Perrin

update for new number of builders


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28628 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b4677bb3
......@@ -195,7 +195,7 @@ class TestAdvancedInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase):
packing_list = sequence.get('packing_list')
invoice = packing_list.getCausalityRelatedValue(portal_type=self.invoice_portal_type)
builder_list = invoice.getBuilderList()
self.assertEquals(2, len(builder_list))
self.assertEquals(1, len(builder_list))
divergence_list = invoice.getDivergenceList()
for builder in builder_list:
builder.solveDivergence(invoice.getRelativeUrl(),
......@@ -255,7 +255,7 @@ class TestAdvancedInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase):
divergence_list = invoice.getDivergenceList()
builder_list = invoice.getBuilderList()
self.assertEquals(2, len(builder_list))
self.assertEquals(1, len(builder_list))
for builder in builder_list:
builder.solveDivergence(invoice.getRelativeUrl(),
divergence_to_adopt_list=divergence_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