From 5767d553a6f2f921261e1531926a2ec9d511f9bb Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 6 Dec 2018 15:35:18 -0300 Subject: [PATCH] validate:launcher: Make failure as in our xunit reporter I think it was a mistake to call them as the two notions are different (we marked failed test as "failures" in the node). Should make gitlab happy with our file! --- validate/launcher/reporters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validate/launcher/reporters.py b/validate/launcher/reporters.py index 69f2d55ebb..d3b6eaa4c3 100644 --- a/validate/launcher/reporters.py +++ b/validate/launcher/reporters.py @@ -209,8 +209,8 @@ class XunitReporter(Reporter): self.encoding, 'replace') xml_file.write(self._forceUnicode( '' - '%(stacktrace)s' - '%(systemout)s' % + '%(stacktrace)s' + '%(systemout)s' % {'cls': self._quoteattr(test.get_classname()), 'name': self._quoteattr(test.get_name()), 'taken': test.time_taken,