[py-svn] r48565 - py/branch/reporter-merge/py/test/rsession

fijal at codespeak.net fijal at codespeak.net
Sun Nov 11 14:39:57 CET 2007


Author: fijal
Date: Sun Nov 11 14:39:57 2007
New Revision: 48565

Modified:
   py/branch/reporter-merge/py/test/rsession/web.py
Log:
Hopeless attempt to make web reporter work.


Modified: py/branch/reporter-merge/py/test/rsession/web.py
==============================================================================
--- py/branch/reporter-merge/py/test/rsession/web.py	(original)
+++ py/branch/reporter-merge/py/test/rsession/web.py	Sun Nov 11 14:39:57 2007
@@ -431,6 +431,9 @@
     def __init__(self, config, hosts):
         start_server_from_config(config)
 
+    def was_failure(self):
+        return sum(exported_methods.fail_reasons.values()) > 0
+
     # rebind
     report = exported_methods.report
     __call__ = report



More information about the pytest-commit mailing list