* [PATCH 3/4] auto-t: iwd.py: use args[0] for station debug interface
@ 2021-11-22 20:44 James Prestwood
0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2021-11-22 20:44 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 774 bytes --]
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.
---
autotests/util/iwd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py
index 5e1e2721..185a31fe 100755
--- 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):
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-22 20:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-22 20:44 [PATCH 3/4] auto-t: iwd.py: use args[0] for station debug interface James Prestwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox