diff --git a/product/ERP5Banking/tests/TestERP5BankingMixin.py b/product/ERP5Banking/tests/TestERP5BankingMixin.py index bf0663d6869415a54c72af75dc72b0099512e88e..bfa949c5e2dc2d36d32d2202c6445b2678da786d 100644 --- a/product/ERP5Banking/tests/TestERP5BankingMixin.py +++ b/product/ERP5Banking/tests/TestERP5BankingMixin.py @@ -28,6 +28,7 @@ from DateTime import DateTime from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase +from transaction import get as get_transaction def isSameSet(a, b): for i in a: diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py b/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py index 27904d43a4d8a7a85e1fafa4ca9a6ccea26b7d33..2cf91c3fa9db368b2fdf0f5c01a0354f954e2071 100644 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookDelivery.py @@ -33,6 +33,7 @@ from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Banking.tests.testERP5BankingCheckbookUsualCashTransfer \ import TestERP5BankingCheckbookUsualCashTransferMixin from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin +from transaction import get as get_transaction # Needed in order to have a log file inside the current folder os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log') diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py b/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py index f3e90d760ab4ca68ab89f0c986ab97078f405494..e6afaa804c519f3f5b443ba63a2b96e1c515ebfb 100644 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookUsualCashTransfer.py @@ -34,6 +34,7 @@ from Products.DCWorkflow.DCWorkflow import ValidationFailed from Products.ERP5Banking.tests.testERP5BankingCheckbookVaultTransfer \ import TestERP5BankingCheckbookVaultTransferMixin from zLOG import LOG +from transaction import get as get_transaction # Needed in order to have a log file inside the current folder os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log') diff --git a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py index e4547f260b1a05e72319b3f0632bc943202edd81..dd06ed7c941fb309cc5583d540f8d44a3dd77d73 100644 --- a/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py +++ b/product/ERP5Banking/tests/testERP5BankingCheckbookVaultTransfer.py @@ -31,6 +31,7 @@ import os from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Banking.tests.TestERP5BankingMixin import TestERP5BankingMixin +from transaction import get as get_transaction # Needed in order to have a log file inside the current folder os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log')