Commit cc3d3ff7 authored by Gabriel Monnerat's avatar Gabriel Monnerat

commit method don't exist on this object. Then, transaction is imported and used.

parent a7a7df32
...@@ -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
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase, \ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase, \
_getConversionServerDict _getConversionServerDict
...@@ -270,7 +270,9 @@ class FunctionalTestRunner: ...@@ -270,7 +270,9 @@ class FunctionalTestRunner:
self.browser = Firefox(profile_dir, host, int(port)) self.browser = Firefox(profile_dir, host, int(port))
def getStatus(self): def getStatus(self):
self.commit() # XXX - must use commit method from ProcessingNodeTestCase
import transaction
transaction.commit()
return self.portal.portal_tests.TestTool_getResults(self.run_only) return self.portal.portal_tests.TestTool_getResults(self.run_only)
def _getTestURL(self): def _getTestURL(self):
......
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