* [PATCH 11/12] auto-t: add test for IWD as configurator + initiator
@ 2022-01-18 21:25 James Prestwood
0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2022-01-18 21:25 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 1116 bytes --]
---
autotests/testDPP/connection_test.py | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/autotests/testDPP/connection_test.py b/autotests/testDPP/connection_test.py
index 38d44b25..160e533e 100644
--- a/autotests/testDPP/connection_test.py
+++ b/autotests/testDPP/connection_test.py
@@ -82,6 +82,22 @@ class Test(unittest.TestCase):
self.hapd.wait_for_event('AP-STA-CONNECTED 42:00:00:00:00:00')
+ def test_iwd_as_configurator_initiator(self):
+ self.hapd.reload()
+ self.hapd.wait_for_event('AP-ENABLED')
+
+ IWD.copy_to_storage('ssidCCMP.psk')
+ self.device.autoconnect = True
+
+ condition = 'obj.state == DeviceState.connected'
+ self.wd.wait_for_object_condition(self.device, condition)
+
+ uri = self.wpas.dpp_enrollee_start(oper_and_channel='81/2')
+
+ self.device.dpp_start_configurator(uri)
+
+ self.hapd.wait_for_event('AP-STA-CONNECTED 42:00:00:00:00:00')
+
def setUp(self):
self.wd = IWD(True)
self.device = self.wd.list_devices(1)[0]
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-01-18 21:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 21:25 [PATCH 11/12] auto-t: add test for IWD as configurator + initiator James Prestwood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.