From f6980c4b9da99ef7e5dc4da253dbc8b0aec0d0d1 Mon Sep 17 00:00:00 2001 From: fijal Date: Sun, 18 Mar 2007 23:44:54 +0100 Subject: [PATCH] [svn r40738] Count also FAILED TO LOAD MODULE failures in web interface --HG-- branch : trunk --- py/test/rsession/web.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/py/test/rsession/web.py b/py/test/rsession/web.py index 92effb22c..aa4dc2770 100644 --- a/py/test/rsession/web.py +++ b/py/test/rsession/web.py @@ -286,6 +286,11 @@ class ExportedMethods(BasicExternal): 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):