Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
49edad32
Commit
49edad32
authored
Feb 21, 2012
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: shorten report titles by no distinguishing errors and failures
parent
147f6b8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
neo/scripts/runner.py
neo/scripts/runner.py
+4
-2
No files found.
neo/scripts/runner.py
View file @
49edad32
...
...
@@ -251,8 +251,10 @@ class NeoTestRunner(unittest.TestResult):
def
buildReport
(
self
,
add_status
):
self
.
time
=
sum
([
s
.
time
for
s
in
self
.
modulesStats
.
values
()])
self
.
subject
=
"%s Tests, %s Errors, %s Failures"
%
(
self
.
testsRun
,
len
(
self
.
errors
),
len
(
self
.
failures
))
# TODO: Add 'Broken' for known failures (not a regression)
# and 'Fixed' for unexpected successes.
self
.
subject
=
"%s Tests, %s Failed"
%
(
self
.
testsRun
,
len
(
self
.
errors
)
+
len
(
self
.
failures
))
summary
=
self
.
_buildSummary
(
add_status
)
errors
=
self
.
_buildErrors
()
warnings
=
self
.
_buildWarnings
()
...
...
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