aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-08-11 10:48:45 +0200
committerMichał Górny <mgorny@gentoo.org>2011-08-11 10:48:59 +0200
commitd9b77dcd10b5314528b32858f1e6108280f0960c (patch)
tree8ff273588a821d8a50a3d7ff5fbc86a1835a7b28
parentStore short test names. (diff)
downloadpms-test-suite-d9b77dcd10b5314528b32858f1e6108280f0960c.tar.gz
pms-test-suite-d9b77dcd10b5314528b32858f1e6108280f0960c.tar.bz2
pms-test-suite-d9b77dcd10b5314528b32858f1e6108280f0960c.zip
Use short test names in HTML output (instead of direct classes).
-rw-r--r--pmstestsuite/output/html.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pmstestsuite/output/html.py b/pmstestsuite/output/html.py
index f766ffe..749f95e 100644
--- a/pmstestsuite/output/html.py
+++ b/pmstestsuite/output/html.py
@@ -79,7 +79,7 @@ class HTMLOutput(OutputModule):
def _results_by_class(reorderedresults):
ret = defaultdict(dict)
for t, r in reorderedresults.items():
- ret[t.__class__.__name__][t] = r
+ ret[t.short_name][t] = r
return ret
def _sorted_pms(pms):