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:
parent
7ed30bccbf
commit
23de5f2415
@ -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)
|
||||
|
2333
results.html
2333
results.html
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user