From 44686a024013dc778ce2a704c8a07a083e76145e Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Mon, 21 Jan 2013 22:23:16 -0500 Subject: [PATCH] stop duplicating class name in subunit results for some crazy reason, we always duplicate the class name in the string. Stop that, it's crazy. Change-Id: I903d89bc2b3364603d420e7ebdc9812e8abc1ce2 Reviewed-on: https://review.openstack.org/20208 Reviewed-by: James E. Blair Reviewed-by: Clark Boylan Approved: Clark Boylan Tested-by: Jenkins --- files/slave_scripts/subunit2html.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/slave_scripts/subunit2html.py b/files/slave_scripts/subunit2html.py index 06991d9..c4f2658 100755 --- a/files/slave_scripts/subunit2html.py +++ b/files/slave_scripts/subunit2html.py @@ -46,6 +46,7 @@ import traceback import unittest from xml.sax import saxutils + __version__ = '0.1' @@ -433,7 +434,7 @@ class ClassInfoWrapper(object): self.mod = mod def __repr__(self): - return "%s.%s" % (self.name, self.mod) + return "%s" % (self.name) class HtmlOutput(unittest.TestResult):