From 939a67255a53fb460eb7c99440754cc0eed02c03 Mon Sep 17 00:00:00 2001 From: Andrew Zaborowski Date: Fri, 9 Oct 2020 20:08:54 +0200 Subject: [PATCH] autotests: Move some variables from IWD class to instance These variables were probably meant as instance members and not class members. --- autotests/util/iwd.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py index 618c98c2..dc4f93a2 100755 --- 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):