Set xml_file before parsing results 55/74655/1 master
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 15 Nov 2024 19:00:14 +0000 (20:00 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 15 Nov 2024 19:00:14 +0000 (20:00 +0100)
Change-Id: I22a6d0c5224e3ff5c67e8a2e6c805ed82d803495
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
xtesting/core/robotframework.py

index 1f85303..1ac1575 100644 (file)
@@ -119,6 +119,8 @@ class RobotFramework(testcase.TestCase):
         stream = StringIO()
         if 'output' not in kwargs:
             kwargs["output"] = self.xml_file
+        else:
+            self.xml_file = kwargs["output"]
         kwargs["log"] = "NONE"
         kwargs["report"] = "NONE"
         kwargs["stdout"] = stream