Commit ce81d96a authored by Aurel's avatar Aurel

retrieve url/port from ZopeTestCase utils

parent 539c79ad
......@@ -35,6 +35,8 @@ import subprocess
import shutil
import transaction
from ZPublisher.HTTPResponse import HTTPResponse
from Testing import ZopeTestCase
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase, \
_getConversionServerDict
......@@ -370,7 +372,8 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
self.setSystemPreference()
self.portal.portal_tests.TestTool_cleanUpTestResults()
self.tic()
self.runner = FunctionalTestRunner(self.serverhost, self.serverport,
utils = ZopeTestCase.utils
self.runner = FunctionalTestRunner(utils._Z2HOST, utils._Z2PORT,
self.portal, self.run_only, self.use_phanthom)
def setSystemPreference(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