Commit c28d65c4 authored by Jérome Perrin's avatar Jérome Perrin

update tests, there are 3 builders for accounting transactions


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25518 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9be4099e
...@@ -1260,7 +1260,7 @@ class TestInvoice(TestInvoiceMixin): ...@@ -1260,7 +1260,7 @@ class TestInvoice(TestInvoiceMixin):
# accept decision # accept decision
builder_list = invoice.getBuilderList() builder_list = invoice.getBuilderList()
self.assertEquals(2, len(builder_list)) self.assertEquals(3, len(builder_list))
for builder in builder_list: for builder in builder_list:
builder.solveDivergence(invoice.getRelativeUrl(), builder.solveDivergence(invoice.getRelativeUrl(),
divergence_to_accept_list=divergence_list) divergence_to_accept_list=divergence_list)
...@@ -1320,7 +1320,7 @@ class TestInvoice(TestInvoiceMixin): ...@@ -1320,7 +1320,7 @@ class TestInvoice(TestInvoiceMixin):
# adopt prevision # adopt prevision
builder_list = invoice.getBuilderList() builder_list = invoice.getBuilderList()
self.assertEquals(2, len(builder_list)) self.assertEquals(3, len(builder_list))
for builder in builder_list: for builder in builder_list:
builder.solveDivergence(invoice.getRelativeUrl(), builder.solveDivergence(invoice.getRelativeUrl(),
divergence_to_adopt_list=divergence_list) divergence_to_adopt_list=divergence_list)
...@@ -3135,7 +3135,7 @@ class TestSaleInvoice(TestSaleInvoiceMixin, TestInvoice, ERP5TypeTestCase): ...@@ -3135,7 +3135,7 @@ class TestSaleInvoice(TestSaleInvoiceMixin, TestInvoice, ERP5TypeTestCase):
# accept decision # accept decision
builder_list = invoice.getBuilderList() builder_list = invoice.getBuilderList()
self.assertEquals(2, len(builder_list)) self.assertEquals(3, len(builder_list))
for builder in builder_list: for builder in builder_list:
builder.solveDivergence(invoice.getRelativeUrl(), builder.solveDivergence(invoice.getRelativeUrl(),
divergence_to_accept_list=divergence_list) 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