* [PATCH v2 2/2] auto-t: testPSK-roam deauthenticate IWD after roam
@ 2021-11-23 18:17 James Prestwood
0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2021-11-23 18:17 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 847 bytes --]
After roaming deauth IWD and check the connection state.
---
autotests/testPSK-roam/connection_test.py | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/autotests/testPSK-roam/connection_test.py b/autotests/testPSK-roam/connection_test.py
index 437e52fc..8d9b22ad 100644
--- a/autotests/testPSK-roam/connection_test.py
+++ b/autotests/testPSK-roam/connection_test.py
@@ -100,6 +100,10 @@ class Test(unittest.TestCase):
self.assertRaises(Exception, testutil.test_ifaces_connected,
(self.bss_hostapd[1].ifname, device.name, True, True))
+ self.bss_hostapd[0].deauthenticate(device.address)
+ condition = 'obj.state == DeviceState.disconnected'
+ wd.wait_for_object_condition(device, condition)
+
def test_ft_psk(self):
wd = IWD(True)
--
2.31.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-23 18:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-23 18:17 [PATCH v2 2/2] auto-t: testPSK-roam deauthenticate IWD after roam James Prestwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox