1 new commit in pytest: https://bitbucket.org/hpk42/pytest/commits/6b10ac6e0a44/ Changeset: 6b10ac6e0a44 User: hpk42 Date: 2013-07-17 09:31:55 Summary: paint last line red if "failures" or "errors" occured, attribute theuni Affected #: 3 files
diff -r 6e5fd004c38df785e08fdad5d7eaf3095b8fbd0f -r 6b10ac6e0a44682ce1ba97e06eb61b1c90774938 AUTHORS --- a/AUTHORS +++ b/AUTHORS @@ -33,4 +33,4 @@ Andreas Zeidler Brian Okken Katarzyna Jachim - +Christian Theunert diff -r 6e5fd004c38df785e08fdad5d7eaf3095b8fbd0f -r 6b10ac6e0a44682ce1ba97e06eb61b1c90774938 CHANGELOG --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,9 @@ Changes between 2.3.5 and 2.4.DEV ----------------------------------- +- color the last line red or green depending if failures/errors occured + or everything passed. thanks Christian Theunert. + - fix issue320 - fix class scope for fixtures when mixed with module-level functions. Thanks Anatloy Bubenkoff. diff -r 6e5fd004c38df785e08fdad5d7eaf3095b8fbd0f -r 6b10ac6e0a44682ce1ba97e06eb61b1c90774938 _pytest/terminal.py --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -457,7 +457,7 @@ msg = "%s in %.2f seconds" % (line, session_duration) if self.verbosity >= 0: markup = dict(bold=True) - if 'failed' in self.stats: + if 'failed' in self.stats or 'error' in self.stats: markup['red'] = True else: markup['green'] = True Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ pytest-commit mailing list pytest-commit@python.org http://mail.python.org/mailman/listinfo/pytest-commit