From 7d6a38de93521086d56c24876601f6d1abeedf04 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 26 Jul 2022 10:09:13 -0700 Subject: [PATCH] auto-t: iwd.py: let IWD class specify developer mode --- autotests/util/iwd.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py index db91ab8a..b17fe163 100755 --- a/autotests/util/iwd.py +++ b/autotests/util/iwd.py @@ -1098,7 +1098,8 @@ class IWD(AsyncOpAbstract): psk_agents = [] def __init__(self, start_iwd_daemon = False, iwd_config_dir = '/tmp', - iwd_storage_dir = IWD_STORAGE_DIR, namespace=ctx): + iwd_storage_dir = IWD_STORAGE_DIR, namespace=ctx, + developer_mode = True): self.namespace = namespace self._bus = namespace.get_bus() @@ -1107,7 +1108,8 @@ class IWD(AsyncOpAbstract): raise Exception("IWD requested to start but is already running") self._iwd_proc = self.namespace.start_iwd(iwd_config_dir, - iwd_storage_dir) + iwd_storage_dir, + developer_mode) self._devices = DeviceList(self)