[svn r40738] Count also FAILED TO LOAD MODULE failures in web interface

--HG--
branch : trunk
This commit is contained in:
fijal 2007-03-18 23:44:54 +01:00
parent 3943673739
commit f6980c4b9d
1 changed files with 5 additions and 0 deletions

View File

@ -287,6 +287,11 @@ class ExportedMethods(BasicExternal):
self.all += 1 self.all += 1
self.pending_events.put(event) 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): def report_ItemStart(self, event):
if isinstance(event.item, py.test.collect.Module): if isinstance(event.item, py.test.collect.Module):
self.pending_events.put(event) self.pending_events.put(event)