Commit 87847c81 authored by Łukasz Nowak's avatar Łukasz Nowak

- check against proper amount of builder list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28680 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 49fdecde
......@@ -1478,7 +1478,7 @@ self.portal.getDefaultModule(self.packing_list_portal_type).newContent(
# accept decision
builder_list = invoice.getBuilderList()
self.assertEquals(1, len(builder_list))
self.assertEquals(2, len(builder_list))
for builder in builder_list:
builder.solveDivergence(invoice.getRelativeUrl(),
divergence_to_accept_list=divergence_list)
......@@ -3382,7 +3382,7 @@ class TestSaleInvoice(TestSaleInvoiceMixin, TestInvoice, ERP5TypeTestCase):
# accept decision
builder_list = invoice.getBuilderList()
self.assertEquals(1, len(builder_list))
self.assertEquals(2, len(builder_list))
for builder in builder_list:
builder.solveDivergence(invoice.getRelativeUrl(),
divergence_to_accept_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