3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-25 09:39:25 +01:00

auto-t: fix testWPA2 to wait for device object

This commit is contained in:
James Prestwood 2020-09-10 16:12:45 -07:00 committed by Denis Kenzior
parent 8b41413170
commit cf3ea5d4df

View File

@ -38,8 +38,8 @@ class Test(unittest.TestCase):
ordered_network.network_object.connect()
condition = 'obj.connected'
wd.wait_for_object_condition(ordered_network.network_object, condition)
condition = 'obj.state == DeviceState.connected'
wd.wait_for_object_condition(device, condition)
testutil.test_iface_operstate()
testutil.test_ifaces_connected()