commit 939a67255a53fb460eb7c99440754cc0eed02c03 parent 719646df4dc810bf41c7d33a4d5d7ab29f152061 Author: Andrew Zaborowski <andrew.zaborowski@intel.com> Date: Fri, 9 Oct 2020 20:08:54 +0200 autotests: Move some variables from IWD class to instance These variables were probably meant as instance members and not class members. Diffstat:
| M | autotests/util/iwd.py | | | 9 | ++++++--- |
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py @@ -231,9 +231,12 @@ class Device(IWDDBusAbstract): with its properties and methods ''' _iface_name = IWD_DEVICE_INTERFACE - _wps_manager_if = None - _station_if = None - _station_props = None + + def __init__(self, *args, **kwargs): + self._wps_manager_if = None + self._station_if = None + self._station_props = None + IWDDBusAbstract.__init__(self, *args, **kwargs) @property def _wps_manager(self):