mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
auto-t: testFT-PSK-roam wait for connected
Rather than assert its better to wait for a connected state.
This commit is contained in:
parent
0c277e442e
commit
ce5e1e1933
@ -90,7 +90,8 @@ class Test(unittest.TestCase):
|
||||
condition = 'obj.state != DeviceState.roaming'
|
||||
wd.wait_for_object_condition(device, condition)
|
||||
|
||||
self.assertEqual(device.state, iwd.DeviceState.connected)
|
||||
condition = 'obj.state == DeviceState.connected'
|
||||
wd.wait_for_object_condition(device, condition)
|
||||
self.assertTrue(self.bss_hostapd[1].list_sta())
|
||||
|
||||
testutil.test_iface_operstate(device.name)
|
||||
|
Loading…
Reference in New Issue
Block a user