Commit 49edad32 authored by Julien Muchembled's avatar Julien Muchembled

tests: shorten report titles by no distinguishing errors and failures

parent 147f6b8b
...@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment