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
Léo-Paul Géneau
erp5
Commits
0f502bdc
Commit
0f502bdc
authored
Jun 15, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runUnitTest: typos and missing new lines in output
parent
ae96e2a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
product/ERP5Type/tests/runUnitTest.py
product/ERP5Type/tests/runUnitTest.py
+3
-3
No files found.
product/ERP5Type/tests/runUnitTest.py
View file @
0f502bdc
...
@@ -152,7 +152,7 @@ Options:
...
@@ -152,7 +152,7 @@ Options:
This option only makes sense with --activity_node=
This option only makes sense with --activity_node=
or when not specifying a test to run.
or when not specifying a test to run.
--zserver=ADDRESS[,...] Make ZServer listen on given IPv4 address.
--zserver=ADDRESS[,...] Make ZServer listen on given IPv4 address.
Adresses can be given in the following syntaxs:
Ad
d
resses can be given in the following syntaxs:
- HOST:PORT
- HOST:PORT
- PORT in this case, host will be 127.0.0.1
- PORT in this case, host will be 127.0.0.1
- HOST in this case a free port will be assigned
- HOST in this case a free port will be assigned
...
@@ -502,7 +502,7 @@ _print = sys.stderr.write
...
@@ -502,7 +502,7 @@ _print = sys.stderr.write
def
runUnitTestList
(
test_list
,
verbosity
=
1
,
debug
=
0
,
run_only
=
None
):
def
runUnitTestList
(
test_list
,
verbosity
=
1
,
debug
=
0
,
run_only
=
None
):
if
"zeo_client"
in
os
.
environ
and
"zeo_server"
in
os
.
environ
:
if
"zeo_client"
in
os
.
environ
and
"zeo_server"
in
os
.
environ
:
_print
(
"conflicting options: --zeo_client and --zeo_server"
)
_print
(
"conflicting options: --zeo_client and --zeo_server
\
n
"
)
sys
.
exit
(
1
)
sys
.
exit
(
1
)
instance_home
=
os
.
environ
[
'INSTANCE_HOME'
]
instance_home
=
os
.
environ
[
'INSTANCE_HOME'
]
os
.
environ
.
setdefault
(
'EVENT_LOG_FILE'
,
os
.
path
.
join
(
log_directory
,
'zLOG.log'
))
os
.
environ
.
setdefault
(
'EVENT_LOG_FILE'
,
os
.
path
.
join
(
log_directory
,
'zLOG.log'
))
...
@@ -653,7 +653,7 @@ def runUnitTestList(test_list, verbosity=1, debug=0, run_only=None):
...
@@ -653,7 +653,7 @@ def runUnitTestList(test_list, verbosity=1, debug=0, run_only=None):
if
not
(
dummy
or
load
):
if
not
(
dummy
or
load
):
_print
(
'WARNING: either --save or --load should be used because static'
_print
(
'WARNING: either --save or --load should be used because static'
' files are only reloaded by the node installing business'
' files are only reloaded by the node installing business'
' templates.'
)
' templates.
\
n
'
)
else
:
else
:
if
dummy
:
if
dummy
:
# Skip all tests and monkeypatch PortalTestCase to skip
# Skip all tests and monkeypatch PortalTestCase to skip
...
...
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