diff options
Diffstat (limited to 'functest_kubernetes/rally')
-rw-r--r-- | functest_kubernetes/rally/rally_kubernetes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functest_kubernetes/rally/rally_kubernetes.py b/functest_kubernetes/rally/rally_kubernetes.py index ef7949ef..ece7aa89 100644 --- a/functest_kubernetes/rally/rally_kubernetes.py +++ b/functest_kubernetes/rally/rally_kubernetes.py @@ -88,7 +88,7 @@ class RallyKubernetes(testcase.TestCase): result = rapi.task.export( [task_instance["uuid"]], "html", output_dest=os.path.join( - self.res_dir, "{}.html".format(self.case_name))) + self.res_dir, f"{self.case_name}.html")) if "files" in result: for path in result["files"]: with open(path, "w+", encoding='utf-8') as output: @@ -96,7 +96,7 @@ class RallyKubernetes(testcase.TestCase): result = rapi.task.export( [task_instance["uuid"]], "junit-xml", output_dest=os.path.join( - self.res_dir, "{}.xml".format(self.case_name))) + self.res_dir, f"{self.case_name}.xml")) if "files" in result: for path in result["files"]: with open(path, "w+", encoding='utf-8') as output: |