diff options
author | 2021-06-09 21:29:05 +0200 | |
---|---|---|
committer | 2021-08-12 09:46:49 +0200 | |
commit | 569599f5950fcbf9c2c9f0fdf5f4b469babe573a (patch) | |
tree | f63676d6931e219f7e854bca653425bef05a5695 /xtesting/core/mts.py | |
parent | e6288ba6b497061e280caa5a574fe22a9ba9f504 (diff) |
Use python 3 super() style
See https://www.python.org/dev/peps/pep-3135/
Signed-off-by: Vincent Danno <vincent.danno@orange.com>
Change-Id: I4f74db4a019b70d0289f8969d57fa9ad629c586f
Diffstat (limited to 'xtesting/core/mts.py')
-rw-r--r-- | xtesting/core/mts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xtesting/core/mts.py b/xtesting/core/mts.py index b9f605b8..3bc7bde9 100644 --- a/xtesting/core/mts.py +++ b/xtesting/core/mts.py @@ -43,7 +43,7 @@ class MTSLauncher(feature.BashFeature): self.is_skipped = True def __init__(self, **kwargs): - super(MTSLauncher, self).__init__(**kwargs) + super().__init__(**kwargs) # Location of the HTML report generated by MTS self.mts_stats_dir = os.path.join(self.res_dir, 'mts_stats_report') # Location of the log files generated by MTS for each test. @@ -214,7 +214,7 @@ class MTSLauncher(feature.BashFeature): self.__logger.info("MTS logs output dir: %s ", self.mts_logs_dir) kwargs.pop("cmd", None) - return super(MTSLauncher, self).execute(cmd=cmd, **kwargs) + return super().execute(cmd=cmd, **kwargs) except KeyError: self.__logger.error("Missing mandatory arg for MTS. kwargs: %s", |