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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Romain Courteaud
erp5
Commits
3e513f34
Commit
3e513f34
authored
Oct 16, 2020
by
Romain Courteaud
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_test_result: consider line without test as UNKNOWN result
parent
784c1fe5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bt5/erp5_test_result/WorkflowTemplateItem/portal_workflow/test_result_workflow/scripts/TestResult_complete.py
...kflow/test_result_workflow/scripts/TestResult_complete.py
+1
-1
No files found.
bt5/erp5_test_result/WorkflowTemplateItem/portal_workflow/test_result_workflow/scripts/TestResult_complete.py
View file @
3e513f34
...
...
@@ -63,7 +63,7 @@ elif test_result.getPortalType() == 'Test Result Line':
errors
=
kw
.
get
(
'error_count'
,
0
)
failures
=
kw
.
get
(
'failure_count'
,
0
)
skips
=
kw
.
get
(
'skip_count'
,
0
)
if
all_tests
is
None
:
if
(
all_tests
is
None
)
or
(
all_tests
==
0
)
:
status
=
'UNKNOWN'
all_tests
=
0
elif
errors
or
failures
and
unexpected
(
test_result
.
getParentValue
()):
...
...
Romain Courteaud
@romain
mentioned in commit
nexedi/slapos@27f574bc
·
Oct 16, 2020
mentioned in commit
nexedi/slapos@27f574bc
mentioned in commit nexedi/slapos@27f574bcd12d9d3e4f0e8c098190ce6ef1fb9d6b
Toggle commit 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