diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py index e6d595308d5d07fc4a2e4bb0e86468c45117b325..41408e4d692339f6511d18c4f1fde91fad068221 100644 --- a/product/ERP5Banking/tests/TestERP5BankingMixin.py +++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py @@ -28,7 +28,7 @@ from DateTime import DateTime from zLOG import LOG - +from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase def isSameSet(a, b): for i in a: @@ -39,7 +39,7 @@ def isSameSet(a, b): return False return len(a) == len(b) -class TestERP5BankingMixin: +class TestERP5BankingMixin(ERP5TypeTestCase): """ Mixin class for unit test of banking operations """ diff --git a/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py b/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py index 88ef2bf51b58d97fbdc7efe2c499f2bdeefad4c6..aaaeb54efc0488018a5f0741cb09eefa06366570 100755 --- a/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py +++ b/product/ERP5Banking/tests/testERP5BankingAccountingCancellation.py @@ -32,7 +32,6 @@ import os from zLOG import LOG from DateTime import DateTime from Products.CMFCore.utils import getToolByName -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -47,8 +46,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingAccountingCancellation(TestERP5BankingMixin, - ERP5TypeTestCase): +class TestERP5BankingAccountingCancellation(TestERP5BankingMixin): """ Inside this test we will check that it is possible to cancel a transaction. """ diff --git a/product/ERP5Banking/tests/testERP5BankingAccountingDate.py b/product/ERP5Banking/tests/testERP5BankingAccountingDate.py index 2f00c30438df345cea3c823f63583b0815259c48..d6962b6862802fb7a01c60dd027db4f14518263a 100644 --- a/product/ERP5Banking/tests/testERP5BankingAccountingDate.py +++ b/product/ERP5Banking/tests/testERP5BankingAccountingDate.py @@ -27,7 +27,6 @@ ############################################################################## from DateTime import DateTime -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed @@ -35,7 +34,7 @@ from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed QUIET = False RUN_ALL_TEST = True -class TestERP5BankingAccountingDate(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingAccountingDate(TestERP5BankingMixin): """ Unit test Accounting Date definition and utility script. """ diff --git a/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py b/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py index c373a95c3ce6faa55bfbd10c5cf70ca86a7206c8..f7fc94bad116b04366879faf8716d25ed71831da 100755 --- a/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py +++ b/product/ERP5Banking/tests/testERP5BankingAvailableInventory.py @@ -32,10 +32,8 @@ import os from zLOG import LOG from DateTime import DateTime from Products.CMFCore.utils import getToolByName -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed -from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin from Products.ERP5Banking.tests.testERP5BankingCheckPayment \ import TestERP5BankingCheckPaymentMixin from Products.ERP5Banking.tests.testERP5BankingMoneyDeposit \ @@ -53,9 +51,7 @@ if __name__ == '__main__': class TestERP5BankingAvailableInventory(TestERP5BankingCheckPaymentMixin, - TestERP5BankingMoneyDepositMixin, - TestERP5BankingMixin, - ERP5TypeTestCase): + TestERP5BankingMoneyDepositMixin): """ Unit test class in order to make sure that it is not possible to debit two times the same account if the amount on the account is diff --git a/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py b/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py index d86bb953ae2e121c650bc91c143352996a315467..e75b01909e923ad9a67b85937c9c5de6f6148880 100644 --- a/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py +++ b/product/ERP5Banking/tests/testERP5BankingBankAccountInventory.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': -class TestERP5BankingInventory(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingInventory(TestERP5BankingMixin): """ This class is a unit test to check the module of Bank Account Inventory """ diff --git a/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py b/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py index 0824746762b8e52c6df2eaaaac42375e0e5edc9e..3d582efaeeb4eaa8d01e8c854e917972b95a8113 100644 --- a/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py +++ b/product/ERP5Banking/tests/testERP5BankingCashBalanceRegulation.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashBalanceRegulation(TestERP5BankingMixin): """ Unit test for the cash balance regulation module Source = destination diff --git a/product/ERP5Banking/tests/testERP5BankingCashClassification.py b/product/ERP5Banking/tests/testERP5BankingCashClassification.py index 5b69fd5a4b720f8581a69b3ab1b353655bba7e5e..8d2f900dd3b60bfb03cee7e710311771ed6ae72d 100755 --- a/product/ERP5Banking/tests/testERP5BankingCashClassification.py +++ b/product/ERP5Banking/tests/testERP5BankingCashClassification.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingCashClassification(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashClassification(TestERP5BankingMixin): # pseudo constants diff --git a/product/ERP5Banking/tests/testERP5BankingCashExchange.py b/product/ERP5Banking/tests/testERP5BankingCashExchange.py index de0e94a63bea40f3248547558d92f4f4d72c2367..f772fae99744e403bcfd91c8be38a1a5b7718fa8 100644 --- a/product/ERP5Banking/tests/testERP5BankingCashExchange.py +++ b/product/ERP5Banking/tests/testERP5BankingCashExchange.py @@ -30,7 +30,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': -class TestERP5BankingCashExchange(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashExchange(TestERP5BankingMixin): """ Unit test for the cash exchange module Source = destination diff --git a/product/ERP5Banking/tests/testERP5BankingCashInventory.py b/product/ERP5Banking/tests/testERP5BankingCashInventory.py index 2e8f0cc48703e3c21408e037e7a18768b6748557..69e1e1c5bd992b9635d6db50f90c576ee44821b7 100755 --- a/product/ERP5Banking/tests/testERP5BankingCashInventory.py +++ b/product/ERP5Banking/tests/testERP5BankingCashInventory.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': -class TestERP5BankingInventory(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingInventory(TestERP5BankingMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingCashMovement.py b/product/ERP5Banking/tests/testERP5BankingCashMovement.py index 84186465b9996f2d65926ce7e67797a9e160076e..f76aa9caaaf9df41f78ffb33e3602d135fa43ca8 100644 --- a/product/ERP5Banking/tests/testERP5BankingCashMovement.py +++ b/product/ERP5Banking/tests/testERP5BankingCashMovement.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCashMovement(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashMovement(TestERP5BankingMixin): """ This class is a unit test to check the module of Cash Movement diff --git a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py index da875e1a4299fcc27fd4ea771afc699ef70bca60..ba65bb20dcd997ee94f1f795baff0f0aebb431ca 100755 --- a/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py +++ b/product/ERP5Banking/tests/testERP5BankingCashMovementNewNotEmitted.py @@ -29,10 +29,8 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed -from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin from Products.ERP5Banking.tests.testERP5BankingMonetaryIssue import TestERP5BankingMonetaryReceptionMixin from DateTime import DateTime @@ -46,8 +44,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionMixin, - TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashMovementNewNotEmitted(TestERP5BankingMonetaryReceptionMixin): """ This class is a unit test to check the module of Cash Movement New Not Emitted """ diff --git a/product/ERP5Banking/tests/testERP5BankingCashSorting.py b/product/ERP5Banking/tests/testERP5BankingCashSorting.py index 2c97d951e6884ede34d7e8fa890df68f28359779..b683d702d740c8910c19b255e9921590237546aa 100755 --- a/product/ERP5Banking/tests/testERP5BankingCashSorting.py +++ b/product/ERP5Banking/tests/testERP5BankingCashSorting.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingCashSorting(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashSorting(TestERP5BankingMixin): # pseudo constants diff --git a/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py b/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py index bf76492830f467a389587203394e2e0f503e1ffd..aa6c7fca674c809825c8e40431aa2f8cfe5971a4 100644 --- a/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py +++ b/product/ERP5Banking/tests/testERP5BankingCashToCurrencyPurchase.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': -class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashToCurrencyPurchase(TestERP5BankingMixin): """ Unit test for the cash exchange module Source = destination diff --git a/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py b/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py index 3e60952dc88e8a6891aa882fad27f83cd678cc9e..23a4ad56d4ad8a1c5d890e462535f7cd86d7b817 100644 --- a/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py +++ b/product/ERP5Banking/tests/testERP5BankingCashToCurrencySale.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCashToCurrencySale(TestERP5BankingMixin): """ Unit test for the cash exchange module Source = destination diff --git a/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py b/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py index be0f88b177b9d2a2b64e6ae99b53ef563b5760fd..061da4841e9ef16a003bc54988169d2214a38406 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckDeposit.py @@ -32,7 +32,6 @@ import os from zLOG import LOG from DateTime import DateTime from Products.CMFCore.utils import getToolByName -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -48,7 +47,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCheckDeposit(TestERP5BankingMixin): """ Unit test class for the check deposit module """ diff --git a/product/ERP5Banking/tests/testERP5BankingCheckPayment.py b/product/ERP5Banking/tests/testERP5BankingCheckPayment.py index 768a01d57d4f2092eb06761490edf91c72652ae6..b3da9310b86f7819eb6d1d3389bc2c8883cf9b0d 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckPayment.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckPayment.py @@ -32,7 +32,6 @@ import os from zLOG import LOG from DateTime import DateTime from Products.CMFCore.utils import getToolByName -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -47,7 +46,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCheckPaymentMixin: +class TestERP5BankingCheckPaymentMixin(TestERP5BankingMixin): """ Unit test class for the check payment module """ @@ -526,8 +525,7 @@ class TestERP5BankingCheckPaymentMixin: self.assertEquals(check.getSimulationState(), 'delivered') self.assertEquals(self.check_1.getSimulationState(), 'confirmed') -class TestERP5BankingCheckPayment(TestERP5BankingCheckPaymentMixin, - TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCheckPayment(TestERP5BankingCheckPaymentMixin): # pseudo constants RUN_ALL_TEST = 1 # we want to run all test diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py b/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py index f48c23611d79cedb5f132516506f457089f319de..0856d66fee1564f9c67128dbc6b4a1de652b819a 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \ @@ -47,7 +46,7 @@ os.environ['EVENT_LOG_SEVERITY'] = '-300' if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCheckbookDeliveryMixin: +class TestERP5BankingCheckbookDeliveryMixin(TestERP5BankingMixin): def createCheckbookDelivery(self, sequence=None, sequence_list=None, **kwd): """ @@ -133,8 +132,7 @@ class TestERP5BankingCheckbookDeliveryMixin: class TestERP5BankingCheckbookDelivery(TestERP5BankingCheckbookDeliveryMixin, - TestERP5BankingCheckbookUsualCashTransferMixin, - TestERP5BankingMixin, ERP5TypeTestCase): + TestERP5BankingCheckbookUsualCashTransferMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py b/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py index f3119394d905135268d003161d2237955993c968..47de922e799bb165be50941a959c00e6424803a5 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookMovement.py @@ -29,10 +29,8 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed -from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin from Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer \ import TestERP5BankingCheckbookVaultTransferMixin @@ -46,8 +44,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixin, - TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCheckbookMovement(TestERP5BankingCheckbookVaultTransferMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py b/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py index dedde7000ddb0e1f215be395d6a2acd715b775ba..adfd3838beb0ca37a70c8b64e77c4b2db9817503 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookReception.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingCheckbookReception(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCheckbookReception(TestERP5BankingMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py b/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py index f791edc1f2486c69d2dc62acfc7655483ba4ac95..b6b110be85a13b2f0743ebd757b30705883387e9 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py @@ -29,12 +29,10 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer \ import TestERP5BankingCheckbookVaultTransferMixin -from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin from DateTime import DateTime from zLOG import LOG @@ -106,8 +104,7 @@ class TestERP5BankingCheckbookUsualCashTransferMixin( self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'deliver_action', wf_id='checkbook_vault_transfer_workflow') -class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCashTransferMixin, - TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCashTransferMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py index eb86e2ad138ff416d3a938e2d595202e386f6b04..fe21f5e97f94d34cc91a2b9f1c03a8b1f0d8d7a6 100755 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -43,7 +42,7 @@ os.environ['EVENT_LOG_SEVERITY'] = '-300' if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCheckbookVaultTransferMixin: +class TestERP5BankingCheckbookVaultTransferMixin(TestERP5BankingMixin): def createCheckbookReception(self, sequence=None, sequence_list=None, **kwd): """ @@ -145,8 +144,7 @@ class TestERP5BankingCheckbookVaultTransferMixin: """ self.previous_delivery.edit(start_date=self.previous_date) -class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransferMixin, - TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCheckbookVaultTransfer(TestERP5BankingCheckbookVaultTransferMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py b/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py index 38fbf81883273fa8518a881491abe2ce5c07dc15..6b3cc1490f3e3713ece67473b7aad9c86d8d7783 100755 --- a/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py +++ b/product/ERP5Banking/tests/testERP5BankingClassificationSurvey.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingClassificationSurvey(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingClassificationSurvey(TestERP5BankingMixin): # pseudo constants diff --git a/product/ERP5Banking/tests/testERP5BankingCounterDate.py b/product/ERP5Banking/tests/testERP5BankingCounterDate.py index 1ef083393a8c1c5c0780ee6d373e319aad2b2a94..3ce5377dcf9b8bc9b05a7ef64708cbcb8004a42f 100755 --- a/product/ERP5Banking/tests/testERP5BankingCounterDate.py +++ b/product/ERP5Banking/tests/testERP5BankingCounterDate.py @@ -32,7 +32,6 @@ import os from zLOG import LOG from DateTime import DateTime from Testing import ZopeTestCase -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.DCWorkflow.DCWorkflow import ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin #from Products.ERP5Banking.tests.testERP5BankingCheckPayment \ @@ -48,8 +47,7 @@ os.environ['EVENT_LOG_SEVERITY'] = '-300' if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCounterDate(TestERP5BankingMixin, - ERP5TypeTestCase): +class TestERP5BankingCounterDate(TestERP5BankingMixin): RUN_ALL_TEST = 1 # we want to run all test QUIET = 0 # we don't want the test to be quiet diff --git a/product/ERP5Banking/tests/testERP5BankingCounterRendering.py b/product/ERP5Banking/tests/testERP5BankingCounterRendering.py index a7b82769869525dfa1d69ab84045e430302bd844..795fff3d34eb8d2af3b93018f6ec326952845188 100644 --- a/product/ERP5Banking/tests/testERP5BankingCounterRendering.py +++ b/product/ERP5Banking/tests/testERP5BankingCounterRendering.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingCounterRendering(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingCounterRendering(TestERP5BankingMixin): """ This class is a unit test to check the module of Counter Rendering diff --git a/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py b/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py index f0584845d59f6399824840936e37d5a30a2abf26..2c739270c0752fc2f0c5372e84489435ca7d39ab 100644 --- a/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py +++ b/product/ERP5Banking/tests/testERP5BankingDestructionSurvey.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingDestructionSurvey(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingDestructionSurvey(TestERP5BankingMixin): """ This class is a unit test to check the module of Destruction Survey diff --git a/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py b/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py index 2712f11d7fe863c435acbc61b4e23f07e4dfc2df..d59603f431bff90be5e997f2bac9169a48e95983 100755 --- a/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py +++ b/product/ERP5Banking/tests/testERP5BankingForeignCashReception.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingForeignCashReception(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingForeignCashReception(TestERP5BankingMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py b/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py index dc5ee539a174c045511b4e54cf0284d159d3f42d..f76d258a92e8d2ace434d6dd05f1480d6e42569f 100644 --- a/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py +++ b/product/ERP5Banking/tests/testERP5BankingInternalMoneyDeposit.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingInternalMoneyDeposit(TestERP5BankingMixin): diff --git a/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py b/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py index af6603f235d28706f3762b6cbc66f554f69feb2e..bd3c650afb95e73ffcf0a4bccbcd9e935e1fb4aa 100644 --- a/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py +++ b/product/ERP5Banking/tests/testERP5BankingInternalMoneyPayment.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingInternalMoneyPayment(TestERP5BankingMixin): diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py b/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py index 92541b745753adb007daf75362267c121aefe4fe..fe73147c4cbb111fc1024609a59c364feaf85823 100644 --- a/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py +++ b/product/ERP5Banking/tests/testERP5BankingMonetaryDestruction.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -47,7 +46,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMonetaryDestruction(TestERP5BankingMixin): """ This class is a unit test to check the module of Monetary Destruction diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py b/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py index 413c3408dd99a2bc27e9d7343f269f9da868c854..f49209f35f4087f1abb0067c48b5360531607a0e 100755 --- a/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py +++ b/product/ERP5Banking/tests/testERP5BankingMonetaryIssue.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingMonetaryReceptionMixin: +class TestERP5BankingMonetaryReceptionMixin(TestERP5BankingMixin): def stepCreateMonetaryReception(self, sequence=None, sequence_list=None, **kw): """ @@ -107,7 +106,7 @@ class TestERP5BankingMonetaryReceptionMixin: self.assertEqual(len(self.simulation_tool.getFutureTrackingList(at_date=self.current_date, node=self.reception.getRelativeUrl())), 2) -class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin, TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMonetaryIssue(TestERP5BankingMonetaryReceptionMixin): """ This class is a unit test to check the module of Monetary Issue diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py b/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py index 4166c8c10275d0bb027c9e8ec810467c5cda461e..fd6ab447a7ab6e29c6c678106401f5a39bad52dc 100755 --- a/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py +++ b/product/ERP5Banking/tests/testERP5BankingMonetaryRecall.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingMonetaryRecall(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMonetaryRecall(TestERP5BankingMixin): """ This class is a unit test to check the module of Monetary Recall diff --git a/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py b/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py index 1dd082f065fe20cdedcda3027006c1f413d593b6..c3bcd98c8d5c90d7502d8785b0daf4cb38ebc836 100755 --- a/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py +++ b/product/ERP5Banking/tests/testERP5BankingMonetaryReception.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingMonetaryReception(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMonetaryReception(TestERP5BankingMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py b/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py index f384a2809ce8399217c08aad029f953050d3be06..44417b23e0a69081543cd69c47e874ebfe5099d9 100755 --- a/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py +++ b/product/ERP5Banking/tests/testERP5BankingMonetarySurvey.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -44,7 +43,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingMonetarySurvey(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMonetarySurvey(TestERP5BankingMixin): """ This class is a unit test to check the module of Monetary Survey """ diff --git a/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py b/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py index d2d78c3690a5d9d2168f9716fee21082b72d5506..0f1ed37254c2d65c48a539ad73e44ff3dce6cd3a 100644 --- a/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py +++ b/product/ERP5Banking/tests/testERP5BankingMoneyDeposit.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': -class TestERP5BankingMoneyDepositMixin: +class TestERP5BankingMoneyDepositMixin(TestERP5BankingMixin): @@ -317,8 +316,7 @@ class TestERP5BankingMoneyDepositMixin: ## Tests ################################## -class TestERP5BankingMoneyDeposit(TestERP5BankingMoneyDepositMixin, - TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMoneyDeposit(TestERP5BankingMoneyDepositMixin): # pseudo constants RUN_ALL_TEST = 1 # we want to run all test diff --git a/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py b/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py index db98ce367aee3deac356206c7153dc8ea5c095bc..1b2b2cfb9d40622afafcc673bc087ea0a5580540 100644 --- a/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py +++ b/product/ERP5Banking/tests/testERP5BankingMoneyDepositRendering.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingMoneyDepositRendering(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMoneyDepositRendering(TestERP5BankingMixin): """ This class is a unit test to check the module of Money Deposit Rendering diff --git a/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py b/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py index 9ccbc0a1c447537ffa83c0b1e5d69fdc783f64a0..f74c1a6d8b0238da847cddcaabae3f26e129e36b 100755 --- a/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py +++ b/product/ERP5Banking/tests/testERP5BankingMutilatedBanknote.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -45,7 +44,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingMutilatedBanknote(TestERP5BankingMixin): """ """ diff --git a/product/ERP5Banking/tests/testERP5BankingStopPayment.py b/product/ERP5Banking/tests/testERP5BankingStopPayment.py index d0ea4d0376abcb37b7d12fe63b3a6239808d302b..f880a948a0ea4133f7a92b249744ba9f976d8e55 100755 --- a/product/ERP5Banking/tests/testERP5BankingStopPayment.py +++ b/product/ERP5Banking/tests/testERP5BankingStopPayment.py @@ -29,16 +29,14 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer \ import TestERP5BankingCheckbookVaultTransferMixin from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \ import TestERP5BankingCheckbookUsualCashTransferMixin -from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin from Products.ERP5Banking.tests.testERP5BankingCheckbookDelivery \ - import TestERP5BankingCheckbookDelivery, TestERP5BankingCheckbookDeliveryMixin + import TestERP5BankingCheckbookDeliveryMixin from DateTime import DateTime from zLOG import LOG @@ -53,8 +51,7 @@ if __name__ == '__main__': class TestERP5BankingStopPayment( TestERP5BankingCheckbookDeliveryMixin, TestERP5BankingCheckbookUsualCashTransferMixin, - TestERP5BankingCheckbookVaultTransferMixin, - TestERP5BankingMixin, ERP5TypeTestCase): + TestERP5BankingCheckbookVaultTransferMixin): """ This class is a unit test to check the module of Stop Payment """ diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py index 3cab395ce50a5bad76fb22573154f7ee3b84285c..17841e8e4666a2416a679c5aeb552c72e7762a0a 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckPurchase.py @@ -29,14 +29,12 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \ import TestERP5BankingCheckbookUsualCashTransferMixin from Products.ERP5Banking.tests.testERP5BankingTravelerCheckSale \ import TestERP5BankingTravelerCheckSaleMixin -from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin from DateTime import DateTime from zLOG import LOG @@ -50,8 +48,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) class TestERP5BankingTravelerCheckPurchase(TestERP5BankingCheckbookUsualCashTransferMixin, - TestERP5BankingTravelerCheckSaleMixin, - TestERP5BankingMixin, ERP5TypeTestCase): + TestERP5BankingTravelerCheckSaleMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py index f9fb07c3470187be8cd4eb4482c257511ccb25aa..ddc844efe177c9ec16274dc74cf92df017348c9c 100755 --- a/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py +++ b/product/ERP5Banking/tests/testERP5BankingTravelerCheckSale.py @@ -29,7 +29,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \ @@ -47,7 +46,7 @@ os.environ['EVENT_LOG_SEVERITY'] = '-300' if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingTravelerCheckSaleMixin: +class TestERP5BankingTravelerCheckSaleMixin(TestERP5BankingMixin): def getTravelerCheckSaleModule(self): """ @@ -206,8 +205,7 @@ class TestERP5BankingTravelerCheckSaleMixin: self.assertEqual(len(workflow_history), 3) class TestERP5BankingTravelerCheckSale(TestERP5BankingCheckbookUsualCashTransferMixin, - TestERP5BankingTravelerCheckSaleMixin, - TestERP5BankingMixin, ERP5TypeTestCase): + TestERP5BankingTravelerCheckSaleMixin): """ This class is a unit test to check the module of Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py b/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py index 7d03798bebc89bb2c5d164f7e209ddf661a4e535..e1d8c47ee70d5f0d1e0b240a9a32d6edcc5c6cd0 100644 --- a/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py +++ b/product/ERP5Banking/tests/testERP5BankingUsualCashRendering.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingUsualCashRendering(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingUsualCashRendering(TestERP5BankingMixin): """ This class is a unit test to check the module of Usual Cash Rendering diff --git a/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py b/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py index 9b36b239997c8d015e5c703f9747545076e9e512..ecac29d9756807a590435c934a3d0eab037f4002 100755 --- a/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py +++ b/product/ERP5Banking/tests/testERP5BankingUsualCashTransfer.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingUsualCashTransfer(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingUsualCashTransfer(TestERP5BankingMixin): """ This class is a unit test to check the module of Usual Cash Transfer diff --git a/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py b/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py index de798e4c42dcbcce8a88aac6537c4d1e4c96d80c..b7a16245af190111f12cfa54c9fb628005c76f75 100644 --- a/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py +++ b/product/ERP5Banking/tests/testERP5BankingVaultTransfer.py @@ -31,7 +31,6 @@ # import requested python module import os -from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.Sequence import SequenceList from Products.DCWorkflow.DCWorkflow import Unauthorized, ValidationFailed from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin @@ -46,7 +45,7 @@ if __name__ == '__main__': execfile(os.path.join(sys.path[0], 'framework.py')) -class TestERP5BankingVaultTransfer(TestERP5BankingMixin, ERP5TypeTestCase): +class TestERP5BankingVaultTransfer(TestERP5BankingMixin): """ This class is a unit test to check the module of Vault Transfer