Color highlight on the name of the failed tests
This commit is contained in:
parent
8e54d07c40
commit
f3f61fb5d1
|
@ -458,7 +458,8 @@ class TerminalReporter:
|
||||||
self.write_line(line)
|
self.write_line(line)
|
||||||
else:
|
else:
|
||||||
msg = self._getfailureheadline(rep)
|
msg = self._getfailureheadline(rep)
|
||||||
self.write_sep("_", msg)
|
markup = {'red': True, 'bold': True}
|
||||||
|
self.write_sep("_", msg, **markup)
|
||||||
self._outrep_summary(rep)
|
self._outrep_summary(rep)
|
||||||
|
|
||||||
def summary_errors(self):
|
def summary_errors(self):
|
||||||
|
|
Loading…
Reference in New Issue