From 3e46ce6e8bec2c7055af11181bfa157956185a9a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Fri, 22 Jun 2007 10:21:57 +0000 Subject: [PATCH] use 'mixed' for emission letter instead of cash status git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14932 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../ERP5Banking/tests/testERP5BankingCashClassification.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/product/ERP5Banking/tests/testERP5BankingCashClassification.py b/product/ERP5Banking/tests/testERP5BankingCashClassification.py index 54bd55619d..82c5e97c0f 100755 --- a/product/ERP5Banking/tests/testERP5BankingCashClassification.py +++ b/product/ERP5Banking/tests/testERP5BankingCashClassification.py @@ -513,7 +513,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase): """ # create the line self.addCashLineToDelivery(self.cash_sorting, 'valid_outgoing_line_4', 'Outgoing Cash Sorting Line', self.billet_100, - ('emission_letter', 'cash_status', 'variation'), ('emission_letter/not_defined', 'cash_status/mixed') + self.variation_list, + ('emission_letter', 'cash_status', 'variation'), ('emission_letter/mixed', 'cash_status/valid') + self.variation_list, self.quantity_100) # execute tic self.stepTic() @@ -533,7 +533,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase): self.assertEqual(len(self.valid_outgoing_line.objectValues()), 2) for variation in self.variation_list: # get the delivery cell - cell = self.valid_outgoing_line.getCell('emission_letter/not_defined', variation, 'cash_status/mixed') + cell = self.valid_outgoing_line.getCell('emission_letter/mixed', variation, 'cash_status/valid') # check the portal type self.assertEqual(cell.getPortalType(), 'Outgoing Cash Sorting Cell') if cell.getId() == 'movement_0_0_0': -- 2.30.9