4 new commits in pytest: https://bitbucket.org/hpk42/pytest/commits/3445cabf1754/ Changeset: 3445cabf1754 User: ctheune Date: 2013-07-03 19:41:05 Summary: Support working in a local virtualenv. Affected #: 1 file
diff -r a53052043acc302e0e9ded54e30d40809c87fda6 -r 3445cabf175434fbe8b7a7f452c4418a4fb73095 .hgignore --- a/.hgignore +++ b/.hgignore @@ -4,6 +4,13 @@ .svn .hgsvn +# Ingore local virtualenvs +syntax:glob +lib/ +bin/ +include/ +.Python/ + # These lines are suggested according to the svn:ignore property # Feel free to enable them by uncommenting them syntax:glob https://bitbucket.org/hpk42/pytest/commits/cf1c068a86dc/ Changeset: cf1c068a86dc User: ctheune Date: 2013-07-03 19:43:18 Summary: Compatibility with my spinal cord reflexes: colorize last summary line. Provide a red bar if there are any 'failures'. Otherwise make it green. Affected #: 1 file diff -r 3445cabf175434fbe8b7a7f452c4418a4fb73095 -r cf1c068a86dcf5b61eeafaecc2c04392ac650fa1 _pytest/terminal.py --- a/_pytest/terminal.py +++ b/_pytest/terminal.py @@ -454,10 +454,14 @@ if val: parts.append("%d %s" %(len(val), key)) line = ", ".join(parts) - # XXX coloring msg = "%s in %.2f seconds" %(line, session_duration) if self.verbosity >= 0: - self.write_sep("=", msg, bold=True) + markup = dict(bold=True) + if 'failed' in self.stats: + markup['red'] = True + else: + markup['green'] = True + self.write_sep("=", msg, **markup) #else: # self.write_line(msg, bold=True) https://bitbucket.org/hpk42/pytest/commits/21c0abdd6cd4/ Changeset: 21c0abdd6cd4 Branch: ctheune/typo-1372873724648 User: ctheune Date: 2013-07-03 19:48:57 Summary: Typo Affected #: 1 file diff -r cf1c068a86dcf5b61eeafaecc2c04392ac650fa1 -r 21c0abdd6cd4921cbe73aaa3008eb7a0c5ee7102 .hgignore --- a/.hgignore +++ b/.hgignore @@ -1,10 +1,9 @@ - # Automatically generated by `hgimportsvn` syntax:glob .svn .hgsvn -# Ingore local virtualenvs +# Ignore local virtualenvs syntax:glob lib/ bin/ https://bitbucket.org/hpk42/pytest/commits/29461bb5660a/ Changeset: 29461bb5660a User: ctheune Date: 2013-07-03 19:49:28 Summary: Merged in ctheune/pytest-greenbar-1/ctheune/typo-1372873724648 (pull request #1) Typo Affected #: 1 file diff -r cf1c068a86dcf5b61eeafaecc2c04392ac650fa1 -r 29461bb5660a9c38aed9a8762401afa8f9188149 .hgignore --- a/.hgignore +++ b/.hgignore @@ -1,10 +1,9 @@ - # Automatically generated by `hgimportsvn` syntax:glob .svn .hgsvn -# Ingore local virtualenvs +# Ignore local virtualenvs syntax:glob lib/ bin/ 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