Exclude empty reports for passed tests
This commit is contained in:
parent
b1fbb2ab92
commit
f9ab81a493
|
@ -745,9 +745,10 @@ class TerminalReporter(object):
|
||||||
return
|
return
|
||||||
self.write_sep("=", "PASSES")
|
self.write_sep("=", "PASSES")
|
||||||
for rep in reports:
|
for rep in reports:
|
||||||
msg = self._getfailureheadline(rep)
|
if rep.sections:
|
||||||
self.write_sep("_", msg)
|
msg = self._getfailureheadline(rep)
|
||||||
self._outrep_summary(rep)
|
self.write_sep("_", msg)
|
||||||
|
self._outrep_summary(rep)
|
||||||
|
|
||||||
def print_teardown_sections(self, rep):
|
def print_teardown_sections(self, rep):
|
||||||
showcapture = self.config.option.showcapture
|
showcapture = self.config.option.showcapture
|
||||||
|
|
Loading…
Reference in New Issue