3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 13:02:44 +01:00

auto-t: testPSK-roam deauthenticate IWD after roam

After roaming deauth IWD and check the connection state.
This commit is contained in:
James Prestwood 2021-11-23 10:17:32 -08:00 committed by Denis Kenzior
parent 7103bda058
commit 61dfa943c6

View File

@ -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)