terminal summary: display passes after warnings

This displays passes (with output, `-rP`) before the short summary, and
before any other output from other plugins also.
This commit is contained in:
Daniel Hahler
2019-04-14 15:13:15 +02:00
parent 19035f4b55
commit ea79eb5c3f
3 changed files with 13 additions and 4 deletions

View File

@@ -684,9 +684,9 @@ class TerminalReporter(object):
self.summary_errors()
self.summary_failures()
self.summary_warnings()
self.summary_passes()
yield
self.short_test_summary()
self.summary_passes()
# Display any extra warnings from teardown here (if any).
self.summary_warnings()