Commit 043e6a10 authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove useless import and move 'import transaction' to the top

parent b51a0e12
...@@ -33,7 +33,7 @@ import signal ...@@ -33,7 +33,7 @@ import signal
import re import re
from subprocess import Popen, PIPE from subprocess import Popen, PIPE
import shutil import shutil
from Products.ERP5Type.tests.ProcessingNodeTestCase import ProcessingNodeTestCase import transaction
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase, \ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase, \
_getConversionServerDict _getConversionServerDict
...@@ -271,7 +271,6 @@ class FunctionalTestRunner: ...@@ -271,7 +271,6 @@ class FunctionalTestRunner:
def getStatus(self): def getStatus(self):
# XXX - must use commit method from ProcessingNodeTestCase # XXX - must use commit method from ProcessingNodeTestCase
import transaction
transaction.commit() transaction.commit()
return self.portal.portal_tests.TestTool_getResults(self.run_only) return self.portal.portal_tests.TestTool_getResults(self.run_only)
......
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