commit 44faa81a06e310eb57d073dafd5603aba7913584
parent 876fe9f210da8553c369d05ab176a3d1fe8ecdd6
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 22 Nov 2021 12:44:24 -0800
auto-t: iwd.py: use args[0] for station debug interface
Passing *args, **kwargs into StationDebug ended up initializing the
class with Station properties since devices can be initialized from
existing property dictionaries. Since the object path is all
StationDebug needs, pass args[0] instead.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
@@ -287,7 +287,7 @@ class Device(IWDDBusAbstract):
IWDDBusAbstract.__init__(self, *args, **kwargs)
- self._station_debug = StationDebug(*args, **kwargs)
+ self._station_debug = StationDebug(args[0])
@property
def _wps_manager(self):