Commit c5c29326 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove worklists checking as the security is not defined in the generic banking

components.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30092 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f3e9e0b5
...@@ -1197,29 +1197,3 @@ class TestERP5BankingMixin: ...@@ -1197,29 +1197,3 @@ class TestERP5BankingMixin:
if x.find('reset')>=0] if x.find('reset')>=0]
inventory_module.manage_delObjects(ids=to_delete_id_list) inventory_module.manage_delObjects(ids=to_delete_id_list)
def checkWorklist(self, document):
"""
"""
portal = self.getPortalObject()
portal.portal_caches.clearAllCache()
try:
portal.portal_workflow.refreshWorklistCache()
except AttributeError:
import sys
LOG('TestEERP5Banking.checkWorklist', 0, 'unable to find everything to refresh',
error=sys.exc_info())
portal_type = document.getPortalType()
state = document.getSimulationState()
workflow_id = '%s_workflow' % portal_type.lower().replace(' ', '_')
actions = portal.portal_actions.listFilteredActionsFor(document)
found = 0
for action in actions['global']:
if action.get('workflow_id', None) == workflow_id:
url = action.get('url', None)
if url is not None:
if url.find(state)>=0 and url.find(portal_type)>=0:
found = 1
#if not found:
# import pdb; pdb.set_trace()
self.assertEquals(found, 1)
...@@ -721,9 +721,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -721,9 +721,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.cash_balance_regulation)
def stepDelCashBalanceRegulation(self, sequence=None, sequence_list=None, **kwd): def stepDelCashBalanceRegulation(self, sequence=None, sequence_list=None, **kwd):
""" """
Delete the invalid vault_transfer line previously create Delete the invalid vault_transfer line previously create
...@@ -755,7 +752,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -755,7 +752,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
+ 'CreateValidOutgoingLine ' \ + 'CreateValidOutgoingLine ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckInitialInventory ' \ + 'CheckInitialInventory ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashBalanceRegulation Tic ' \ + 'DeliverCashBalanceRegulation Tic ' \
+ 'CheckFinalInventory' + 'CheckFinalInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
...@@ -767,7 +763,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas ...@@ -767,7 +763,6 @@ class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCas
+ 'CreateValidOutgoingLine ' \ + 'CreateValidOutgoingLine ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckInitialInventoryCaveau ' \ + 'CheckInitialInventoryCaveau ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashBalanceRegulation Tic ' \ + 'DeliverCashBalanceRegulation Tic ' \
+ 'CheckFinalInventoryCaveau' + 'CheckFinalInventoryCaveau'
sequence_list.addSequenceString(sequence_caveau) sequence_list.addSequenceString(sequence_caveau)
......
...@@ -700,10 +700,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -700,10 +700,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase):
self.assertEqual(self.simulation_tool.getFutureInventory(node=self.encaisse_aux_bm.getRelativeUrl(), resource = self.billet_5000.getRelativeUrl()), 24.0) self.assertEqual(self.simulation_tool.getFutureInventory(node=self.encaisse_aux_bm.getRelativeUrl(), resource = self.billet_5000.getRelativeUrl()), 24.0)
# check we have 10 coins of 100 # check we have 10 coins of 100
self.assertEqual(self.simulation_tool.getCurrentInventory(node=self.encaisse_aux_externe.getRelativeUrl(), resource = self.billet_100.getRelativeUrl()), 10.0) self.assertEqual(self.simulation_tool.getCurrentInventory(node=self.encaisse_aux_externe.getRelativeUrl(), resource = self.billet_100.getRelativeUrl()), 10.0)
self.assertEqual(self.simulation_tool.getFutureInventory(node=self.encaisse_aux_externe.getRelativeUrl(), resource = self.billet_100.getRelativeUrl()), 10.0) self.assertEqual(self.simulation_tool.getFutureInventory(node=self.encaisse_aux_externe.getRelativeUrl(), resource = self.billet_100.getRelativeUrl()), 10.0
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.cash_sorting)
################################## ##################################
## Tests ## Tests
...@@ -725,9 +722,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -725,9 +722,7 @@ class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'CreateValidOutgoingLineForMixed ' \ + 'CreateValidOutgoingLineForMixed ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckSource CheckDestination ' \ + 'CheckSource CheckDestination ' \
+ 'Tic CheckWorklist ' \
+ 'ConfirmCashSorting Tic ' \ + 'ConfirmCashSorting Tic ' \
+ 'Tic CheckWorklist ' \
+ 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \ + 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \
+ 'DeliverCashSorting Tic ' \ + 'DeliverCashSorting Tic ' \
+ 'CheckSourceDebit CheckDestinationCredit ' + 'CheckSourceDebit CheckDestinationCredit '
......
...@@ -496,9 +496,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -496,9 +496,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin, ERP5TypeTestCase):
'cash_exchange_workflow','deliver_action') 'cash_exchange_workflow','deliver_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.cash_exchange)
################################## ##################################
## Tests ## Tests
...@@ -521,7 +518,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -521,7 +518,6 @@ class TestERP5BankingCashExchange(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'ResetInventory Tic ' \ + 'ResetInventory Tic ' \
+ 'DeliverFails Tic ' \ + 'DeliverFails Tic ' \
+ 'DeleteResetInventory Tic ' \ + 'DeleteResetInventory Tic ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashExchange Tic ' \ + 'DeliverCashExchange Tic ' \
+ 'CheckFinalInventoryGuichet_1 ' \ + 'CheckFinalInventoryGuichet_1 ' \
+ 'CheckFinalInventoryGuichet_2' + 'CheckFinalInventoryGuichet_2'
......
...@@ -634,9 +634,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -634,9 +634,6 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase):
'cash_movement_workflow','start_action') 'cash_movement_workflow','start_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.cash_movement)
def test_01_ERP5BankingCashMovement(self, quiet=QUIET, run=RUN_ALL_TEST): def test_01_ERP5BankingCashMovement(self, quiet=QUIET, run=RUN_ALL_TEST):
""" """
...@@ -651,18 +648,14 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -651,18 +648,14 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'CreateValidLine2 CheckTotal ' \ + 'CreateValidLine2 CheckTotal ' \
+ 'CheckInitialInventory ' \ + 'CheckInitialInventory ' \
+ 'CreateInvalidLine ' \ + 'CreateInvalidLine ' \
+ 'Tic CheckWorklist ' \
+ 'TryConfirmCashMovementWithBadInventory ' \ + 'TryConfirmCashMovementWithBadInventory ' \
+ 'DelInvalidLine Tic CheckTotal ' \ + 'DelInvalidLine Tic CheckTotal ' \
+ 'ConfirmCashMovement ' \ + 'ConfirmCashMovement ' \
+ 'ResetSourceInventory Tic ' \ + 'ResetSourceInventory Tic ' \
+ 'Tic CheckWorklist ' \
+ 'StartCashMovementFails DeleteResetInventory Tic ' \ + 'StartCashMovementFails DeleteResetInventory Tic ' \
+ 'StartCashMovement ' \ + 'StartCashMovement ' \
+ 'Tic CheckWorklist ' \
+ 'CheckSourceDebitStarted CheckDestinationCreditStarted ' \ + 'CheckSourceDebitStarted CheckDestinationCreditStarted ' \
+ 'StopCashMovement ' \ + 'StopCashMovement ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashMovement ' \ + 'DeliverCashMovement ' \
+ 'CheckSourceDebit CheckDestinationCredit ' + 'CheckSourceDebit CheckDestinationCredit '
...@@ -677,15 +670,11 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -677,15 +670,11 @@ class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'CreateValidLine2 CheckTotal ' \ + 'CreateValidLine2 CheckTotal ' \
+ 'CheckCurrencyHandoverInitialInventory ' \ + 'CheckCurrencyHandoverInitialInventory ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'Tic CheckWorklist ' \
+ 'ConfirmCashMovement ' \ + 'ConfirmCashMovement ' \
+ 'Tic CheckWorklist ' \
+ 'StartCashMovement ' \ + 'StartCashMovement ' \
+ 'CheckCurrencyHandoverSourceDebitStarted ' \ + 'CheckCurrencyHandoverSourceDebitStarted ' \
+ 'CheckDestinationHasNotChanged ' \ + 'CheckDestinationHasNotChanged ' \
+ 'Tic CheckWorklist ' \
+ 'StopCashMovement ' \ + 'StopCashMovement ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashMovement ' \ + 'DeliverCashMovement ' \
+ 'CheckCurrencyHandoverSourceDebit CheckDestinationHasNotChanged ' + 'CheckCurrencyHandoverSourceDebit CheckDestinationHasNotChanged '
......
...@@ -540,9 +540,6 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -540,9 +540,6 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase):
'cash_sorting_workflow','deliver_action') 'cash_sorting_workflow','deliver_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.cash_sorting)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -562,11 +559,9 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -562,11 +559,9 @@ class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'CreateValidOutgoingLineForInternalAndCancelledBanknote ' \ + 'CreateValidOutgoingLineForInternalAndCancelledBanknote ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckSource CheckDestination ' \ + 'CheckSource CheckDestination ' \
+ 'Tic CheckWorklist ' \
+ 'ConfirmCashSorting Tic ' \ + 'ConfirmCashSorting Tic ' \
+ 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \ + 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \
+ 'ResetSourceInventory Tic ' \ + 'ResetSourceInventory Tic ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashSortingFails Tic ' \ + 'DeliverCashSortingFails Tic ' \
+ 'DeleteResetInventory Tic ' \ + 'DeleteResetInventory Tic ' \
+ 'DeliverCashSorting Tic ' \ + 'DeliverCashSorting Tic ' \
......
...@@ -448,9 +448,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCa ...@@ -448,9 +448,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCa
""" """
self.cash_to_currency_purchase_module.deleteContent('cash_to_currency_purchase_1') self.cash_to_currency_purchase_module.deleteContent('cash_to_currency_purchase_1')
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.cash_to_currency_purchase)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -468,7 +465,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCa ...@@ -468,7 +465,6 @@ class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCa
+ 'CreateValidIncomingLine CheckSubTotal ' \ + 'CreateValidIncomingLine CheckSubTotal ' \
+ 'CreateValidOutgoingLine ' \ + 'CreateValidOutgoingLine ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCashToCurrencyPurchase Tic ' \ + 'DeliverCashToCurrencyPurchase Tic ' \
+ 'CheckFinalInventoryGuichet_Entrante ' \ + 'CheckFinalInventoryGuichet_Entrante ' \
+ 'CheckFinalInventoryGuichet_Sortante' + 'CheckFinalInventoryGuichet_Sortante'
......
...@@ -409,9 +409,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -409,9 +409,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase):
'cash_to_currency_sale_workflow','deliver_action') 'cash_to_currency_sale_workflow','deliver_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.cash_to_currency_sale)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -431,8 +428,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -431,8 +428,6 @@ class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'ResetSourceInventory Tic ' \ + 'ResetSourceInventory Tic ' \
+ 'DeliverCashToCurrencySaleFails Tic ' \ + 'DeliverCashToCurrencySaleFails Tic ' \
+ 'DeleteResetInventory Tic ' \
+ 'CheckWorklist Tic ' \
+ 'DeliverCashToCurrencySale Tic ' \ + 'DeliverCashToCurrencySale Tic ' \
+ 'CheckFinalInventoryGuichet_Entrante ' \ + 'CheckFinalInventoryGuichet_Entrante ' \
+ 'CheckFinalInventoryGuichet_Sortante' + 'CheckFinalInventoryGuichet_Sortante'
......
...@@ -453,9 +453,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -453,9 +453,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
if hasattr(self, 'check_deposit'): if hasattr(self, 'check_deposit'):
self.check_deposit_module.manage_delObjects([self.check_deposit.getId(),]) self.check_deposit_module.manage_delObjects([self.check_deposit.getId(),])
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.check_deposit)
def test_01_ERP5BankingCheckDeposit(self, quiet=QUIET, run=RUN_ALL_TEST): def test_01_ERP5BankingCheckDeposit(self, quiet=QUIET, run=RUN_ALL_TEST):
""" """
Define the sequence of step that will be play Define the sequence of step that will be play
...@@ -465,12 +462,9 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -465,12 +462,9 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
# define the sequence # define the sequence
sequence_string1 = 'Tic CheckObjects Tic CheckInitialInventory ' \ sequence_string1 = 'Tic CheckObjects Tic CheckInitialInventory ' \
+ 'CreateCheckDepositOperation Tic ' \ + 'CreateCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'AddCheckOperationLine Tic ' \ + 'AddCheckOperationLine Tic ' \
+ 'PlanCheckDepositOperation Tic ' \ + 'PlanCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'OrderCheckDepositOperation Tic ' \ + 'OrderCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'Tic DeliverCheckDepositOperation Tic ' \ + 'Tic DeliverCheckDepositOperation Tic ' \
+ 'CheckBankAccountInventoryAfterCheckDepositDelivered' + 'CheckBankAccountInventoryAfterCheckDepositDelivered'
# one to test reject # one to test reject
...@@ -494,16 +488,13 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -494,16 +488,13 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
sequence_string4 = 'Tic ClearCheck ClearCheckDepositModule Tic '\ sequence_string4 = 'Tic ClearCheck ClearCheckDepositModule Tic '\
+ 'Tic CheckObjects Tic CheckInitialInventory ' \ + 'Tic CheckObjects Tic CheckInitialInventory ' \
+ 'CreateCheckDepositOperation Tic ' \ + 'CreateCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'AddCheckOperationLine Tic ' \ + 'AddCheckOperationLine Tic ' \
+ 'AddSecondCheckOperationLine Tic ' \ + 'AddSecondCheckOperationLine Tic ' \
+ 'ModifyCheckOperationAmount Tic ' \ + 'ModifyCheckOperationAmount Tic ' \
+ 'TrySecondPlanCheckDepositOperation Tic ' \ + 'TrySecondPlanCheckDepositOperation Tic ' \
+ 'ModifyCheckOperationLineAmount Tic ' \ + 'ModifyCheckOperationLineAmount Tic ' \
+ 'SecondPlanCheckDepositOperation Tic ' \ + 'SecondPlanCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'OrderCheckDepositOperation Tic ' \ + 'OrderCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'Tic DeliverCheckDepositOperation Tic ' \ + 'Tic DeliverCheckDepositOperation Tic ' \
+ 'CheckSecondBankAccountInventoryAfterCheckDepositDelivered' + 'CheckSecondBankAccountInventoryAfterCheckDepositDelivered'
...@@ -511,7 +502,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -511,7 +502,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
sequence_string5 = 'Tic ClearCheck ClearCheckDepositModule Tic '\ sequence_string5 = 'Tic ClearCheck ClearCheckDepositModule Tic '\
+ 'Tic CheckObjects Tic CheckInitialInventory ' \ + 'Tic CheckObjects Tic CheckInitialInventory ' \
+ 'CreateCheckDepositOperation Tic ' \ + 'CreateCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'AddCheckOperationLine Tic ' \ + 'AddCheckOperationLine Tic ' \
+ 'AddSecondCheckOperationLine Tic ' \ + 'AddSecondCheckOperationLine Tic ' \
+ 'ModifyCheckOperationAmount Tic ' \ + 'ModifyCheckOperationAmount Tic ' \
...@@ -519,7 +509,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -519,7 +509,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'SendCheckDepositOperationToManualValidation Tic ' \ + 'SendCheckDepositOperationToManualValidation Tic ' \
+ 'AcceptCheckDepositOperation Tic ' \ + 'AcceptCheckDepositOperation Tic ' \
+ 'OrderCheckDepositOperation Tic ' \ + 'OrderCheckDepositOperation Tic ' \
+ 'CheckWorklist Tic ' \
+ 'Tic DeliverCheckDepositOperation Tic ' \ + 'Tic DeliverCheckDepositOperation Tic ' \
+ 'CheckThirdBankAccountInventoryAfterCheckDepositDelivered' + 'CheckThirdBankAccountInventoryAfterCheckDepositDelivered'
...@@ -527,7 +516,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -527,7 +516,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
sequence_string6 = 'Tic ClearCheck ClearCheckDepositModule Tic '\ sequence_string6 = 'Tic ClearCheck ClearCheckDepositModule Tic '\
+ 'Tic CheckInitialInventory ' \ + 'Tic CheckInitialInventory ' \
+ 'CreateCheckDepositOperation SetCheckLess Tic ' \ + 'CreateCheckDepositOperation SetCheckLess Tic ' \
+ 'CheckWorklist Tic ' \
+ 'AddCheckOperationLine Tic ' \ + 'AddCheckOperationLine Tic ' \
+ 'TrySecondPlanCheckDepositOperationWithAggregate' + 'TrySecondPlanCheckDepositOperationWithAggregate'
...@@ -535,7 +523,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -535,7 +523,6 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
sequence_string7 = 'Tic ClearCheck ClearCheckDepositModule Tic '\ sequence_string7 = 'Tic ClearCheck ClearCheckDepositModule Tic '\
+ 'Tic CheckInitialInventory ' \ + 'Tic CheckInitialInventory ' \
+ 'CreateCheckDepositOperation SetCheckLess Tic ' \ + 'CreateCheckDepositOperation SetCheckLess Tic ' \
+ 'CheckWorklist Tic ' \
+ 'AddCheckOperationLineWithNoAggregate Tic ' \ + 'AddCheckOperationLineWithNoAggregate Tic ' \
+ 'PlanCheckDepositOperation Tic ' \ + 'PlanCheckDepositOperation Tic ' \
+ 'OrderCheckDepositOperation Tic ' \ + 'OrderCheckDepositOperation Tic ' \
......
...@@ -517,9 +517,6 @@ class TestERP5BankingCheckPaymentMixin: ...@@ -517,9 +517,6 @@ class TestERP5BankingCheckPaymentMixin:
wf_id='check_workflow') wf_id='check_workflow')
self.assertEquals(check.getSimulationState(), 'confirmed') self.assertEquals(check.getSimulationState(), 'confirmed')
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.check_payment)
def stepCheckCheckAfterReject(self, sequence=None, sequence_list=None, **kwd): def stepCheckCheckAfterReject(self, sequence=None, sequence_list=None, **kwd):
""" """
Make sure that the check is in delivered state Make sure that the check is in delivered state
...@@ -545,14 +542,11 @@ class TestERP5BankingCheckPayment(TestERP5BankingCheckPaymentMixin, ...@@ -545,14 +542,11 @@ class TestERP5BankingCheckPayment(TestERP5BankingCheckPaymentMixin,
# define the sequence # define the sequence
sequence_string = 'Tic CheckObjects Tic CheckInitialInventory ' \ sequence_string = 'Tic CheckObjects Tic CheckInitialInventory ' \
'CreateCheckPayment Tic ' \ 'CreateCheckPayment Tic ' \
'Tic CheckWorklist ' \
'CheckConsistency Tic ' \ 'CheckConsistency Tic ' \
'Tic CheckWorklist ' \
'stepValidateAnotherCheckPaymentWorks Tic ' \ 'stepValidateAnotherCheckPaymentWorks Tic ' \
'SendToCounter ' \ 'SendToCounter ' \
'stepValidateAnotherCheckPaymentFails Tic ' \ 'stepValidateAnotherCheckPaymentFails Tic ' \
'CheckConfirmedInventory ' \ 'CheckConfirmedInventory ' \
'Tic CheckWorklist ' \
'stepValidateAnotherCheckPaymentFailsAgain Tic ' \ 'stepValidateAnotherCheckPaymentFailsAgain Tic ' \
'InputCashDetails Tic ' \ 'InputCashDetails Tic ' \
'ResetInventory Tic ' \ 'ResetInventory Tic ' \
......
...@@ -280,9 +280,6 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin, ...@@ -280,9 +280,6 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin,
self.failUnless(message.find('Sorry, the item with reference')>=0) self.failUnless(message.find('Sorry, the item with reference')>=0)
self.failUnless(message.find('is not available any more')>=0) self.failUnless(message.find('is not available any more')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.checkbook_delivery)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -300,7 +297,6 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin, ...@@ -300,7 +297,6 @@ class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin,
+ 'ChangePreviousDeliveryDate Tic ' \ + 'ChangePreviousDeliveryDate Tic ' \
+ 'DeliverCheckbookDeliveryFails Tic ' \ + 'DeliverCheckbookDeliveryFails Tic ' \
+ 'PutBackPreviousDeliveryDate Tic ' \ + 'PutBackPreviousDeliveryDate Tic ' \
+ 'CheckWorklist Tic ' \
+ 'DeliverCheckbookDelivery Tic ' \ + 'DeliverCheckbookDelivery Tic ' \
+ 'CheckFinalCheckbookInventory' + 'CheckFinalCheckbookInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -312,9 +312,6 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi ...@@ -312,9 +312,6 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi
self.failUnless(message.find('Sorry, the item with reference')>=0) self.failUnless(message.find('Sorry, the item with reference')>=0)
self.failUnless(message.find('is not available any more')>=0) self.failUnless(message.find('is not available any more')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.checkbook_movement)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -329,17 +326,13 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi ...@@ -329,17 +326,13 @@ class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixi
sequence_string = 'Tic CheckObjects Tic CheckInitialCheckbookInventory ' \ sequence_string = 'Tic CheckObjects Tic CheckInitialCheckbookInventory ' \
+ 'CreateCheckbookMovement Tic ' \ + 'CreateCheckbookMovement Tic ' \
+ 'CreateCheckAndCheckbookLineList Tic ' \ + 'CreateCheckAndCheckbookLineList Tic ' \
+ 'CheckWorklist ' \
+ 'PlanCheckbookMovement Tic ' \ + 'PlanCheckbookMovement Tic ' \
+ 'CheckWorklist ' \
+ 'OrderCheckbookMovement Tic ' \ + 'OrderCheckbookMovement Tic ' \
+ 'CheckWorklist ' \
+ 'ConfirmCheckbookMovement Tic ' \ + 'ConfirmCheckbookMovement Tic ' \
+ 'CheckConfirmedCheckbookInventory Tic ' \ + 'CheckConfirmedCheckbookInventory Tic ' \
+ 'ChangePreviousDeliveryDate Tic ' \ + 'ChangePreviousDeliveryDate Tic ' \
+ 'DeliverCheckbookMovementFails Tic ' \ + 'DeliverCheckbookMovementFails Tic ' \
+ 'PutBackPreviousDeliveryDate Tic ' \ + 'PutBackPreviousDeliveryDate Tic ' \
+ 'CheckWorklist ' \
+ 'DeliverCheckbookMovement Tic ' \ + 'DeliverCheckbookMovement Tic ' \
+ 'CheckFinalCheckbookInventory' + 'CheckFinalCheckbookInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -441,9 +441,6 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -441,9 +441,6 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase):
check = checkbook.objectValues()[0] check = checkbook.objectValues()[0]
self.assertEqual(check.getSimulationState(), 'confirmed') self.assertEqual(check.getSimulationState(), 'confirmed')
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.checkbook_reception)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -458,9 +455,7 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -458,9 +455,7 @@ class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase):
sequence_string = 'Tic CheckObjects Tic CheckInitialCheckbookInventory ' \ sequence_string = 'Tic CheckObjects Tic CheckInitialCheckbookInventory ' \
+ 'CreateCheckbookReception Tic ' \ + 'CreateCheckbookReception Tic ' \
+ 'CreateCheckAndCheckbookLineList Tic ' \ + 'CreateCheckAndCheckbookLineList Tic ' \
+ 'CheckWorklist Tic ' \
+ 'ConfirmCheckbookReception Tic ' \ + 'ConfirmCheckbookReception Tic ' \
+ 'CheckWorklist Tic ' \
+ 'DeliverCheckbookReception Tic ' \ + 'DeliverCheckbookReception Tic ' \
+ 'CheckItemsCreated ' \ + 'CheckItemsCreated ' \
+ 'CheckFinalCheckbookInventory' + 'CheckFinalCheckbookInventory'
......
...@@ -371,9 +371,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas ...@@ -371,9 +371,6 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas
self.failUnless(message.find('Sorry, the item with reference')>=0) self.failUnless(message.find('Sorry, the item with reference')>=0)
self.failUnless(message.find('is not available any more')>=0) self.failUnless(message.find('is not available any more')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.checkbook_usual_cash_transfer)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -390,13 +387,11 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas ...@@ -390,13 +387,11 @@ class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCas
+ 'CreateCheckAndCheckbookLineList Tic ' \ + 'CreateCheckAndCheckbookLineList Tic ' \
+ 'CheckConfirmCheckbookUsualCashTransferRaiseError Tic ' \ + 'CheckConfirmCheckbookUsualCashTransferRaiseError Tic ' \
+ 'ChangeCheckbookUsualCashTransferStartDate Tic ' \ + 'ChangeCheckbookUsualCashTransferStartDate Tic ' \
+ 'CheckWorklist Tic ' \
+ 'ConfirmCheckbookUsualCashTransfer Tic ' \ + 'ConfirmCheckbookUsualCashTransfer Tic ' \
+ 'CheckConfirmedCheckbookInventory Tic ' \ + 'CheckConfirmedCheckbookInventory Tic ' \
+ 'ChangePreviousDeliveryDate Tic ' \ + 'ChangePreviousDeliveryDate Tic ' \
+ 'DeliverCheckbookUsualCashTransferFails Tic ' \ + 'DeliverCheckbookUsualCashTransferFails Tic ' \
+ 'PutBackPreviousDeliveryDate Tic ' \ + 'PutBackPreviousDeliveryDate Tic ' \
+ 'CheckWorklist Tic ' \
+ 'DeliverCheckbookUsualCashTransfer Tic ' \ + 'DeliverCheckbookUsualCashTransfer Tic ' \
+ 'CheckFinalCheckbookInventory' + 'CheckFinalCheckbookInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -368,9 +368,6 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe ...@@ -368,9 +368,6 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe
self.failUnless(message.find('Sorry, the item with reference')>=0) self.failUnless(message.find('Sorry, the item with reference')>=0)
self.failUnless(message.find('is not available any more')>=0) self.failUnless(message.find('is not available any more')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.checkbook_vault_transfer)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -385,15 +382,12 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe ...@@ -385,15 +382,12 @@ class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransfe
sequence_string = 'Tic CheckObjects Tic CheckInitialCheckbookInventory ' \ sequence_string = 'Tic CheckObjects Tic CheckInitialCheckbookInventory ' \
+ 'CreateCheckbookVaultTransfer Tic ' \ + 'CreateCheckbookVaultTransfer Tic ' \
+ 'CreateCheckAndCheckbookLineList Tic ' \ + 'CreateCheckAndCheckbookLineList Tic ' \
+ 'CheckWorklist Tic ' \
+ 'OrderCheckbookVaultTransfer Tic ' \ + 'OrderCheckbookVaultTransfer Tic ' \
+ 'CheckWorklist Tic ' \
+ 'ConfirmCheckbookVaultTransfer Tic ' \ + 'ConfirmCheckbookVaultTransfer Tic ' \
+ 'CheckConfirmedCheckbookInventory Tic ' \ + 'CheckConfirmedCheckbookInventory Tic ' \
+ 'ChangePreviousDeliveryDate Tic ' \ + 'ChangePreviousDeliveryDate Tic ' \
+ 'DeliverCheckbookVaultTransferFails Tic ' \ + 'DeliverCheckbookVaultTransferFails Tic ' \
+ 'PutBackPreviousDeliveryDate Tic ' \ + 'PutBackPreviousDeliveryDate Tic ' \
+ 'CheckWorklist Tic ' \
+ 'DeliverCheckbookVaultTransfer Tic ' \ + 'DeliverCheckbookVaultTransfer Tic ' \
+ 'CheckFinalCheckbookInventory' + 'CheckFinalCheckbookInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -508,9 +508,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -508,9 +508,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase
'classification_survey_workflow','deliver_action') 'classification_survey_workflow','deliver_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.classification_survey)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -527,7 +524,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -527,7 +524,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase
+ 'CreateTwoValidIncomingLine CheckSubTotal ' \ + 'CreateTwoValidIncomingLine CheckSubTotal ' \
+ 'CreateValidOutgoingLineForInternalBanknote ' \ + 'CreateValidOutgoingLineForInternalBanknote ' \
+ 'CreateValidOutgoingLineForExternalBanknote ' \ + 'CreateValidOutgoingLineForExternalBanknote ' \
+ 'Tic CheckWorklist ' \
+ 'Tic CheckTotal ' \ + 'Tic CheckTotal ' \
+ 'CheckSource CheckDestination ' \ + 'CheckSource CheckDestination ' \
+ 'ConfirmClassificationSurvey Tic ' \ + 'ConfirmClassificationSurvey Tic ' \
...@@ -535,7 +531,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -535,7 +531,6 @@ class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase
+ 'ResetSourceInventory Tic ' \ + 'ResetSourceInventory Tic ' \
+ 'DeliverClassificationSurveyFails Tic ' \ + 'DeliverClassificationSurveyFails Tic ' \
+ 'DeleteResetInventory Tic ' \ + 'DeleteResetInventory Tic ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverClassificationSurvey Tic ' \ + 'DeliverClassificationSurvey Tic ' \
+ 'CheckSourceDebit CheckDestinationCredit ' + 'CheckSourceDebit CheckDestinationCredit '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -496,9 +496,6 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -496,9 +496,6 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin, ERP5TypeTestCase):
'counter_rendering_workflow','deliver_action') 'counter_rendering_workflow','deliver_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.counter_rendering)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -519,14 +516,12 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -519,14 +516,12 @@ class TestERP5BankingCounterRendering(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'CreateInvalidLine ' \ + 'CreateInvalidLine ' \
+ 'TryConfirmCounterRenderingWithBadInventory ' \ + 'TryConfirmCounterRenderingWithBadInventory ' \
+ 'DelInvalidLine Tic CheckTotal ' \ + 'DelInvalidLine Tic CheckTotal ' \
+ 'Tic CheckWorklist ' \
+ 'ConfirmCounterRendering ' \ + 'ConfirmCounterRendering ' \
+ 'Tic CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \ + 'Tic CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \
+ 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \ + 'CheckSourceDebitPlanned CheckDestinationCreditPlanned ' \
+ 'ResetInventory Tic ' \ + 'ResetInventory Tic ' \
+ 'DeliverFails ' \ + 'DeliverFails ' \
+ 'DeleteResetInventory Tic ' \ + 'DeleteResetInventory Tic ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverCounterRendering ' \ + 'DeliverCounterRendering ' \
+ 'CheckSourceDebit CheckDestinationCredit ' + 'CheckSourceDebit CheckDestinationCredit '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -431,9 +431,6 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -431,9 +431,6 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin, ERP5TypeTestCase):
'destruction_survey_workflow','deliver_action') 'destruction_survey_workflow','deliver_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.destruction_survey)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -453,12 +450,10 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin, ERP5TypeTestCase): ...@@ -453,12 +450,10 @@ class TestERP5BankingDestructionSurvey(TestERP5BankingMixin, ERP5TypeTestCase):
+ 'CreateInvalidLine ' \ + 'CreateInvalidLine ' \
+ 'TryConfirmDestructionSurveyWithBadInventory ' \ + 'TryConfirmDestructionSurveyWithBadInventory ' \
+ 'DelInvalidLine Tic CheckTotal ' \ + 'DelInvalidLine Tic CheckTotal ' \
+ 'Tic CheckWorklist ' \
+ 'ConfirmDestructionSurvey ' \ + 'ConfirmDestructionSurvey ' \
+ 'ResetSourceInventory Tic ' \ + 'ResetSourceInventory Tic ' \
+ 'DeliverDestructionSurveyFails Tic ' \ + 'DeliverDestructionSurveyFails Tic ' \
+ 'DeleteResetInventory Tic ' \ + 'DeleteResetInventory Tic ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverDestructionSurvey ' \ + 'DeliverDestructionSurvey ' \
+ 'CheckSourceFinal CheckDestinationFinal ' + 'CheckSourceFinal CheckDestinationFinal '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -355,9 +355,6 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -355,9 +355,6 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin, ERP5TypeTestCase
self.assertEqual(self.simulation_tool.getCurrentInventory(node=self.reception.getRelativeUrl(), resource = self.usd_billet_20.getRelativeUrl()), 5.0) self.assertEqual(self.simulation_tool.getCurrentInventory(node=self.reception.getRelativeUrl(), resource = self.usd_billet_20.getRelativeUrl()), 5.0)
self.assertEqual(self.simulation_tool.getFutureInventory(node=self.reception.getRelativeUrl(), resource = self.usd_billet_20.getRelativeUrl()), 5.0) self.assertEqual(self.simulation_tool.getFutureInventory(node=self.reception.getRelativeUrl(), resource = self.usd_billet_20.getRelativeUrl()), 5.0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.foreign_cash_reception)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -376,10 +373,8 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -376,10 +373,8 @@ class TestERP5BankingForeignCashReception(TestERP5BankingMixin, ERP5TypeTestCase
+ 'CreateValidLine2 Tic ' \ + 'CreateValidLine2 Tic ' \
+ 'CheckValidLine1 ' \ + 'CheckValidLine1 ' \
+ 'CheckValidLine2 ' \ + 'CheckValidLine2 ' \
+ 'Tic CheckWorklist ' \
+ 'ConfirmForeignCashReception Tic ' \ + 'ConfirmForeignCashReception Tic ' \
+ 'CheckConfirmedInventory ' \ + 'CheckConfirmedInventory ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverForeignCashReception Tic ' \ + 'DeliverForeignCashReception Tic ' \
+ 'CheckFinalInventory' + 'CheckFinalInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -261,9 +261,6 @@ class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -261,9 +261,6 @@ class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase
""" """
self.internal_money_deposit_module.deleteContent('internal_money_deposit_1') self.internal_money_deposit_module.deleteContent('internal_money_deposit_1')
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.internal_money_deposit)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -278,7 +275,6 @@ class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -278,7 +275,6 @@ class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase
sequence_string = 'Tic CheckObjects Tic CheckInitialInventory ' \ sequence_string = 'Tic CheckObjects Tic CheckInitialInventory ' \
+ 'CreateInternalMoneyDeposit ' \ + 'CreateInternalMoneyDeposit ' \
+ 'InputCashDetails Tic ' \ + 'InputCashDetails Tic ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverInternalMoneyDeposit Tic ' \ + 'DeliverInternalMoneyDeposit Tic ' \
+ 'CheckFinalInventory' + 'CheckFinalInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -263,9 +263,6 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -263,9 +263,6 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase
""" """
self.internal_money_payment_module.deleteContent('internal_money_payment_1') self.internal_money_payment_module.deleteContent('internal_money_payment_1')
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.internal_money_payment)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -280,7 +277,6 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase ...@@ -280,7 +277,6 @@ class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase
sequence_string = 'Tic CheckObjects Tic CheckInitialInventory ' \ sequence_string = 'Tic CheckObjects Tic CheckInitialInventory ' \
+ 'CreateInternalMoneyPayment ' \ + 'CreateInternalMoneyPayment ' \
+ 'InputCashDetails Tic ' \ + 'InputCashDetails Tic ' \
+ 'Tic CheckWorklist ' \
+ 'DeliverInternalMoneyPayment Tic ' \ + 'DeliverInternalMoneyPayment Tic ' \
+ 'CheckFinalInventory' + 'CheckFinalInventory'
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
...@@ -1000,9 +1000,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase) ...@@ -1000,9 +1000,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase)
'monetary_destruction_workflow','deliver_action') 'monetary_destruction_workflow','deliver_action')
self.failUnless(message.find('Insufficient balance')>=0) self.failUnless(message.find('Insufficient balance')>=0)
def stepCheckWorklist(self, **kw):
self.checkWorklist(self.monetary_destruction)
################################## ##################################
## Tests ## Tests
################################## ##################################
...@@ -1021,7 +1018,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase) ...@@ -1021,7 +1018,6 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase)
+ 'CreateValidLineForAuxiliaire2 CheckTotal ' \ + 'CreateValidLineForAuxiliaire2 CheckTotal ' \
+ 'CheckInitialInventoryForAuxiliaire ' \ + 'CheckInitialInventoryForAuxiliaire ' \
+ 'SetMonetaryDestructionSourceTotalAssetPrice ' \ + 'SetMonetaryDestructionSourceTotalAssetPrice ' \
+ 'Tic CheckWorklist ' \
+ 'PlannedMonetaryDestruction Tic ' \ + 'PlannedMonetaryDestruction Tic ' \
+ 'CheckSourceDebitPlannedForAuxiliaire ' \ + 'CheckSourceDebitPlannedForAuxiliaire ' \
+ 'StartMonetaryDestruction Tic ' \ + 'StartMonetaryDestruction Tic ' \
...@@ -1042,13 +1038,11 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase) ...@@ -1042,13 +1038,11 @@ class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase)
+ 'TryPlannedMonetaryDestructionWithBadInventory ' \ + 'TryPlannedMonetaryDestructionWithBadInventory ' \
+ 'DelInvalidLine Tic CheckTotal ' \ + 'DelInvalidLine Tic CheckTotal ' \
+ 'SetMonetaryDestructionSourceTotalAssetPrice ' \ + 'SetMonetaryDestructionSourceTotalAssetPrice ' \
+ 'Tic CheckWorklist ' \
+ 'PlannedMonetaryDestruction Tic ' \ + 'PlannedMonetaryDestruction Tic ' \
+ 'CheckSourceDebitPlanned ' \ + 'CheckSourceDebitPlanned ' \
+ 'ResetInventory Tic ' \ + 'ResetInventory Tic ' \
+ 'ValidateFails ' \ + 'ValidateFails ' \
+ 'DeleteResetInventory ' \ + 'DeleteResetInventory ' \
+ 'Tic CheckWorklist ' \
+ 'ValidateMonetaryDestruction Tic ' \ + 'ValidateMonetaryDestruction Tic ' \
+ 'CheckSourceDebit ' \ + 'CheckSourceDebit ' \
+ 'DelMonetaryDestruction Tic' + 'DelMonetaryDestruction Tic'
......
...@@ -308,9 +308,6 @@ class TestERP5BankingStopPayment( TestERP5BankingCheckbookDeliveryMixin, ...@@ -308,9 +308,6 @@ class TestERP5BankingStopPayment( TestERP5BankingCheckbookDeliveryMixin,
""" """
self.assertEqual(self.check_1.getSimulationState(),'confirmed') self.assertEqual(self.check_1.getSimulationState(),'confirmed')
def stepCheckStopPaymentWorklist(self, **kw):
self.checkWorklist(self.stop_payment)
################################## ##################################
## Tests ## Tests
################################## ##################################
......
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