From 87847c81a33fa2362c6bb92b65ab80caaa4bb27f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 31 Aug 2009 10:12:22 +0000
Subject: [PATCH]  - check against proper amount of builder list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28680 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testInvoice.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/tests/testInvoice.py b/product/ERP5/tests/testInvoice.py
index 0debf6d1e1..96de49df73 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(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)
-- 
2.30.9