Commit 69af111a authored by Mame Coumba Sall's avatar Mame Coumba Sall

add "from transaction import get as get_transaction".

During upgrade get_transaction was not defined


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39362 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e719a008
......@@ -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:
......
......@@ -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')
......
......@@ -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')
......
......@@ -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')
......
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