Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mikolaï Krol
erp5
Commits
744ccd3b
Commit
744ccd3b
authored
Oct 17, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ERP5TypeFunctionalTestCase: init runner earlier so that subclass can modify it
Currently used to change user & password.
parent
56448ead
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
+2
-2
No files found.
product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py
View file @
744ccd3b
...
@@ -328,6 +328,8 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
...
@@ -328,6 +328,8 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
self.setSystemPreference()
self.setSystemPreference()
self.portal.portal_tests.TestTool_cleanUpTestResults()
self.portal.portal_tests.TestTool_cleanUpTestResults()
self.tic()
self.tic()
self.runner = FunctionalTestRunner(self.serverhost, self.serverport,
self.portal, self.run_only, self.use_phanthom)
def setSystemPreference(self):
def setSystemPreference(self):
conversion_dict = _getConversionServerDict()
conversion_dict = _getConversionServerDict()
...
@@ -358,8 +360,6 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
...
@@ -358,8 +360,6 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
# first of all, abort to get rid of the mysql participation inn this
# first of all, abort to get rid of the mysql participation inn this
# transaction
# transaction
self.portal._p_jar.sync()
self.portal._p_jar.sync()
self.runner = FunctionalTestRunner(self.serverhost, self.serverport,
self.portal, self.run_only, self.use_phanthom)
if self.remote_code_url_list is not None:
if self.remote_code_url_list is not None:
self.runner.remote_code_url_list = self.remote_code_url_list
self.runner.remote_code_url_list = self.remote_code_url_list
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment