[py-svn] r40738 - py/trunk/py/test/rsession
fijal at codespeak.net
fijal at codespeak.net
Sun Mar 18 23:44:57 CET 2007
Author: fijal
Date: Sun Mar 18 23:44:54 2007
New Revision: 40738
Modified:
py/trunk/py/test/rsession/web.py
Log:
Count also FAILED TO LOAD MODULE failures in web interface
Modified: py/trunk/py/test/rsession/web.py
==============================================================================
--- py/trunk/py/test/rsession/web.py (original)
+++ py/trunk/py/test/rsession/web.py Sun Mar 18 23:44:54 2007
@@ -286,6 +286,11 @@
def report_ReceivedItemOutcome(self, event):
self.all += 1
self.pending_events.put(event)
+
+ def report_FailedTryiter(self, event):
+ fullitemname = "/".join(event.item.listnames())
+ self.fail_reasons[fullitemname] = ''
+ self.pending_events.put(event)
def report_ItemStart(self, event):
if isinstance(event.item, py.test.collect.Module):
More information about the pytest-commit
mailing list