Commit 636dc3af authored by Sebastien Robin's avatar Sebastien Robin

we only one level of validation now

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18272 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ec68da6c
...@@ -620,7 +620,7 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -620,7 +620,7 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
# get workflow history # get workflow history
workflow_history = self.workflow_tool.getInfoFor(ob=self.cash_balance_regulation, name='history', wf_id='cash_balance_regulation_workflow') workflow_history = self.workflow_tool.getInfoFor(ob=self.cash_balance_regulation, name='history', wf_id='cash_balance_regulation_workflow')
# check len of len workflow history is 6 # check len of len workflow history is 6
self.assertEqual(len(workflow_history), 5) self.assertEqual(len(workflow_history), 3)
def stepCheckFinalInventory(self, sequence=None, sequence_list=None, check_source=1,**kwd): def stepCheckFinalInventory(self, sequence=None, sequence_list=None, check_source=1,**kwd):
...@@ -725,9 +725,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -725,9 +725,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckInitialInventory ' \ + 'CheckInitialInventory ' \
+ 'Tic CheckWorklist ' \ + 'Tic CheckWorklist ' \
+ 'ConfirmCashBalanceRegulation Tic ' \
+ 'CheckConfirmedInventory ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashBalanceRegulation Tic ' \ + 'DeliverCashBalanceRegulation Tic ' \
+ 'CheckFinalInventory' + 'CheckFinalInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
...@@ -740,9 +737,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -740,9 +737,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckInitialInventoryCaveau ' \ + 'CheckInitialInventoryCaveau ' \
+ 'Tic CheckWorklist ' \ + 'Tic CheckWorklist ' \
+ 'ConfirmCashBalanceRegulation Tic ' \
+ 'CheckConfirmedInventoryCaveau ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashBalanceRegulation Tic ' \ + 'DeliverCashBalanceRegulation Tic ' \
+ 'CheckFinalInventoryCaveau' + 'CheckFinalInventoryCaveau'
sequence_list.addSequenceString(sequence_caveau) sequence_list.addSequenceString(sequence_caveau)
...@@ -753,9 +747,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -753,9 +747,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
+ 'CreateValidOutgoingLine ' \ + 'CreateValidOutgoingLine ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckInitialInventorySalleTri ' \ + 'CheckInitialInventorySalleTri ' \
+ 'ConfirmCashBalanceRegulation Tic ' \
+ 'CheckConfirmedInventorySalleTri ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashBalanceRegulation Tic ' \ + 'DeliverCashBalanceRegulation Tic ' \
+ 'CheckFinalInventorySalleTri' + 'CheckFinalInventorySalleTri'
sequence_list.addSequenceString(sequence_salletri) sequence_list.addSequenceString(sequence_salletri)
...@@ -766,9 +757,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -766,9 +757,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
+ 'CreateValidOutgoingLine ' \ + 'CreateValidOutgoingLine ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckInitialInventorySurface ' \ + 'CheckInitialInventorySurface ' \
+ 'ConfirmCashBalanceRegulation Tic ' \
+ 'CheckConfirmedInventorySurface ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashBalanceRegulation Tic ' \ + 'DeliverCashBalanceRegulation Tic ' \
+ 'CheckFinalInventorySurface' + 'CheckFinalInventorySurface'
sequence_list.addSequenceString(sequence_surface) sequence_list.addSequenceString(sequence_surface)
......
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