From 2dbbb59c85f391e173642052b1c8ca46fd8b9c04 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 26 Aug 2008 13:29:24 +0000 Subject: [PATCH] transitions from calculating states are no longer allowed, so wait that the packing list reach the diverged state. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23170 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testInvoice.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/product/ERP5/tests/testInvoice.py b/product/ERP5/tests/testInvoice.py index eecedb19bc..d81f3af882 100644 --- a/product/ERP5/tests/testInvoice.py +++ b/product/ERP5/tests/testInvoice.py @@ -877,6 +877,8 @@ class TestSaleInvoiceMixin(TestInvoiceMixin, stepCheckDeliveryBuilding stepDecreasePackingListLineQuantity stepCheckPackingListIsCalculating + stepTic + stepCheckPackingListIsDiverged stepSplitAndDeferPackingList stepTic stepCheckPackingListIsSolved @@ -1993,6 +1995,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): stepDecreaseInvoiceLineQuantity stepCheckInvoiceIsDivergent stepCheckInvoiceIsCalculating + stepTic + stepCheckInvoiceIsDiverged stepSplitAndDeferInvoice stepTic @@ -2032,6 +2036,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): stepChangeInvoiceStartDate stepCheckInvoiceIsDivergent stepCheckInvoiceIsCalculating + stepTic + stepCheckInvoiceIsDiverged stepAcceptDecisionInvoice stepTic @@ -2071,6 +2077,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): stepChangeInvoiceStartDate stepCheckInvoiceIsDivergent stepCheckInvoiceIsCalculating + stepTic + stepCheckInvoiceIsDiverged stepAcceptDecisionInvoice stepTic @@ -2101,6 +2109,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): """ stepSetContainerFullQuantity stepCheckPackingListIsCalculating + stepTic + stepCheckPackingListIsDiverged stepAcceptDecisionPackingList stepTic stepCheckPackingListIsSolved @@ -2169,6 +2179,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): """ stepSetContainerFullQuantity stepCheckPackingListIsCalculating + stepTic + stepCheckPackingListIsDiverged stepAcceptDecisionPackingList stepTic stepCheckPackingListIsSolved @@ -2263,6 +2275,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): stepDecreasePackingListLineQuantity stepSetContainerFullQuantity stepCheckPackingListIsCalculating + stepTic + stepCheckPackingListIsDiverged stepSplitAndDeferPackingList stepTic stepCheckPackingListIsSolved @@ -2284,6 +2298,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): stepIncreaseInvoiceLineQuantity stepCheckInvoiceIsCalculating + stepTic + stepCheckInvoiceIsDiverged stepAcceptDecisionInvoice stepTic stepStartInvoice @@ -2322,6 +2338,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): stepSetInvoiceLineQuantityToZero stepCheckInvoiceIsCalculating + stepTic + stepCheckInvoiceIsDiverged stepAcceptDecisionInvoice stepTic stepStartInvoice @@ -2375,6 +2393,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): stepDecreaseInvoiceLineQuantity stepCheckInvoiceIsDivergent stepCheckInvoiceIsCalculating + stepTic + stepCheckInvoiceIsDiverged stepSplitAndDeferInvoice stepTic stepStartInvoice @@ -2442,6 +2462,8 @@ class TestSaleInvoice(TestSaleInvoiceMixin, ERP5TypeTestCase): """ stepCheckInvoiceIsDivergent stepCheckInvoiceIsCalculating + stepTic + stepCheckInvoiceIsDiverged stepAcceptDecisionInvoice stepTic stepStartInvoice -- 2.30.9