Fix super() usage for proper initialization of config file

Correct the super().__init__(**kwargs) call to use Python 3's
super() without including 'self' following the inheritance model.
This change ensures proper initialization of the configuration file.

Story: 2011115
Task: 50024

Change-Id: I8675ffe5a6116eb031b6ea1b4aac4214f41421e0
This commit is contained in:
Siamak Erami 2024-04-24 14:54:19 +00:00
parent 77977988cd
commit dc78c5aed4

View File

@ -36,7 +36,7 @@ class TempestConf(configparser.ConfigParser):
self.priority_sectionkeys = set()
self.write_credentials = write_credentials
super().__init__(self, **kwargs)
super().__init__(**kwargs)
def get_bool_value(self, value):
"""Returns boolean value of the string value given.