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 <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
This commit is contained in:
Sean Dague
2013-01-21 22:23:16 -05:00
committed by Jenkins
parent ba00b9dd73
commit 44686a0240

View File

@@ -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):