diff options
Diffstat (limited to 'python/tests/XmlTestRunner.py')
-rw-r--r-- | python/tests/XmlTestRunner.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/tests/XmlTestRunner.py b/python/tests/XmlTestRunner.py index aef726c7..5d3efdfe 100644 --- a/python/tests/XmlTestRunner.py +++ b/python/tests/XmlTestRunner.py @@ -48,6 +48,10 @@ class XmlTestResult(unittest.TestResult): </test>""" % (test.id(), test.shortDescription()) # TODO: add err + def shortDescription(self): + text = unittest.TestResult.shortDescription() + return text.replace('&', '&').replace('<', '<').replace('>', '>') + class XmlTestRunner: def _makeResult(self): |