Commit f6513595 authored by Vincent Desmares's avatar Vincent Desmares

Fix bad import in ERP5TypeTestCase who cause all unittest crash

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23045 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ba01147e
......@@ -164,7 +164,6 @@ from cStringIO import StringIO
from urllib import urlretrieve
from glob import glob
import sys, re, base64
import transaction
portal_name = 'erp5_portal'
......@@ -807,7 +806,7 @@ class ERP5TypeTestCase(PortalTestCase):
sm = getSecurityManager()
# Commit the sandbox for good measure
transaction.commit()
get_transaction().commit()
if env is None:
env = {}
......
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