diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-11-09 11:22:02 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-11-09 13:21:47 +0100 |
commit | 17739d718901a10f7ec0aaf9a6d53141294a347d (patch) | |
tree | a98e6d09a42016ceec90713adac681918a4a9c62 /xtesting/core/robotframework.py | |
parent | 92681911699428a87ea56c0263832b96a93da3da (diff) |
Leverage latest pylint features
It adds encoding in all open call and leverage f-strings.
Change-Id: I70ccd2bfcadae44929d5874f98fa3bf4ff644488
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/core/robotframework.py')
-rw-r--r-- | xtesting/core/robotframework.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xtesting/core/robotframework.py b/xtesting/core/robotframework.py index 3a439eca..775ed1ce 100644 --- a/xtesting/core/robotframework.py +++ b/xtesting/core/robotframework.py @@ -79,9 +79,9 @@ class RobotFramework(testcase.TestCase): result = robot.api.ExecutionResult(self.xml_file) writer = resultwriter.ResultWriter(result) return writer.write_results( - report='{}/report.html'.format(self.res_dir), - log='{}/log.html'.format(self.res_dir), - xunit='{}/xunit.xml'.format(self.res_dir)) + report=f'{self.res_dir}/report.html', + log=f'{self.res_dir}/log.html', + xunit=f'{self.res_dir}/xunit.xml') def run(self, **kwargs): """Run the RobotFramework suites |