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
1 changed files with 4 additions and 0 deletions

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)