summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--chrome/test/webdriver/test/py_unittest_util.py4
2 files changed, 4 insertions, 1 deletions
diff --git a/AUTHORS b/AUTHORS
index 8013a53..b696695 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -209,3 +209,4 @@ Ruben Terrazas <rubentopo@gmail.com>
Josh Triplett <josh.triplett@intel.com>
Qiankun Miao <qiankun.miao@intel.com>
Etienne Laurin <etienne@atnnn.com>
+Yang Gu <yang.gu@intel.com>
diff --git a/chrome/test/webdriver/test/py_unittest_util.py b/chrome/test/webdriver/test/py_unittest_util.py
index d650c78..dba07d7 100644
--- a/chrome/test/webdriver/test/py_unittest_util.py
+++ b/chrome/test/webdriver/test/py_unittest_util.py
@@ -29,7 +29,9 @@ class _GTestTextTestResult(unittest._TextTestResult):
if sys.version_info[:2] <= (2, 4):
return '%s.%s' % (unittest._strclass(test.__class__),
test._TestCase__testMethodName)
- return '%s.%s' % (unittest._strclass(test.__class__), test._testMethodName)
+ return '%s.%s.%s' % (test.__class__.__module__,
+ test.__class__.__name__,
+ test._testMethodName)
def getDescription(self, test):
return '%s: "%s"' % (self._GetTestURI(test), test.shortDescription())