From 61dfa943c6dc086530707d65c243e30670500db9 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Tue, 23 Nov 2021 10:17:32 -0800 Subject: [PATCH] auto-t: testPSK-roam deauthenticate IWD after roam 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)