Properly group tests in output.

The nose.case.Test class wraps all tests and in doing so caused the
output to think all tests belonged to that class. Needed to access the
nose.case.Test.test member in order to get the actual test class.
This commit is contained in:
Clark Boylan 2012-08-08 09:17:13 -07:00
parent 7ed30bccbf
commit 23de5f2415
2 changed files with 1289 additions and 1046 deletions

View File

@ -597,7 +597,7 @@ class HtmlOutput(Plugin):
rmap = {}
classes = []
for n,t,o,e in result_list:
cls = t.__class__
cls = t.test.__class__
if not rmap.has_key(cls):
rmap[cls] = []
classes.append(cls)

File diff suppressed because it is too large Load Diff