Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
8438e10e
Commit
8438e10e
authored
Aug 14, 2012
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Test Result Lines acquiring values from parent Test Result.
Noticed by Kazuhiko.
parent
9de37328
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
16 deletions
+12
-16
erp5/util/taskdistribution/__init__.py
erp5/util/taskdistribution/__init__.py
+12
-16
No files found.
erp5/util/taskdistribution/__init__.py
View file @
8438e10e
...
@@ -158,25 +158,21 @@ class TestResultLineProxy(RPCRetry):
...
@@ -158,25 +158,21 @@ class TestResultLineProxy(RPCRetry):
they must be declared as explicit parameters, with proper default
they must be declared as explicit parameters, with proper default
value).
value).
"""
"""
status_dict
=
{
status_dict
=
dict
(
x
for
x
in
(
'test_count'
:
test_count
,
(
'test_count'
,
test_count
),
'error_count'
:
error_count
,
(
'error_count'
,
error_count
),
'failure_count'
:
failure_count
,
(
'failure_count'
,
failure_count
),
'skip_count'
:
skip_count
,
(
'skip_count'
,
skip_count
),
'duration'
:
duration
,
(
'duration'
,
duration
),
'date'
:
date
,
(
'date'
,
date
),
}
(
'command'
,
command
),
(
'stdout'
,
stdout
),
(
'stderr'
,
stderr
),
(
'html_test_result'
,
html_test_result
),
)
if
x
[
1
]
is
not
None
)
if
kw
:
if
kw
:
self
.
_logger
.
info
(
'Extra parameters provided: %r'
,
kw
)
self
.
_logger
.
info
(
'Extra parameters provided: %r'
,
kw
)
status_dict
.
update
(
kw
)
status_dict
.
update
(
kw
)
if
command
is
not
None
:
status_dict
[
'command'
]
=
command
if
stdout
is
not
None
:
status_dict
[
'stdout'
]
=
stdout
if
stderr
is
not
None
:
status_dict
[
'stderr'
]
=
stderr
if
html_test_result
is
not
None
:
status_dict
[
'html_test_result'
]
=
html_test_result
self
.
_retryRPC
(
'stopUnitTest'
,
(
self
.
_test_result_line_path
,
self
.
_retryRPC
(
'stopUnitTest'
,
(
self
.
_test_result_line_path
,
status_dict
))
status_dict
))
...
...
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