Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
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
Hide 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):
...
@@ -251,8 +251,10 @@ class NeoTestRunner(unittest.TestResult):
def
buildReport
(
self
,
add_status
):
def
buildReport
(
self
,
add_status
):
self
.
time
=
sum
([
s
.
time
for
s
in
self
.
modulesStats
.
values
()])
self
.
time
=
sum
([
s
.
time
for
s
in
self
.
modulesStats
.
values
()])
self
.
subject
=
"%s Tests, %s Errors, %s Failures"
%
(
# TODO: Add 'Broken' for known failures (not a regression)
self
.
testsRun
,
len
(
self
.
errors
),
len
(
self
.
failures
))
# and 'Fixed' for unexpected successes.
self
.
subject
=
"%s Tests, %s Failed"
%
(
self
.
testsRun
,
len
(
self
.
errors
)
+
len
(
self
.
failures
))
summary
=
self
.
_buildSummary
(
add_status
)
summary
=
self
.
_buildSummary
(
add_status
)
errors
=
self
.
_buildErrors
()
errors
=
self
.
_buildErrors
()
warnings
=
self
.
_buildWarnings
()
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