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

auto-t: update uses of wait_for_object_change

This removes waiting for DeviceState.roaming, which is now done
automatically by wait_for_object_change.
This commit is contained in:
James Prestwood 2022-09-28 09:36:36 -07:00 committed by Denis Kenzior
parent 23a22edaed
commit cd258df337
8 changed files with 0 additions and 27 deletions

View File

@ -37,9 +37,6 @@ class Test(unittest.TestCase):
device.roam(self.bss_hostapd[1].bssid)
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# Check that iwd is on BSS 1 once out of roaming state and doesn't
# go through 'disconnected', 'autoconnect', 'connecting' in between
from_condition = 'obj.state == DeviceState.roaming'

View File

@ -70,9 +70,6 @@ class Test(unittest.TestCase):
#rule0.signal = -8000
device.roam(self.bss_hostapd[1].bssid)
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# Check that iwd is on BSS 1 once out of roaming state and doesn't
# go through 'disconnected', 'autoconnect', 'connecting' in between
from_condition = 'obj.state == DeviceState.roaming'

View File

@ -53,9 +53,6 @@ class Test(unittest.TestCase):
device.roam(hapd1.bssid)
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
from_condition = 'obj.state == DeviceState.roaming'
to_condition = 'obj.state == DeviceState.connected'
wd.wait_for_object_change(device, from_condition, to_condition)

View File

@ -52,9 +52,6 @@ class Test(unittest.TestCase):
else:
device.roam(self.bss_hostapd[1].bssid)
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# Check that iwd is on BSS 1 once out of roaming state and doesn't
# go through 'disconnected', 'autoconnect', 'connecting' in between
from_condition = 'obj.state == DeviceState.roaming'
@ -76,9 +73,6 @@ class Test(unittest.TestCase):
device.roam(self.bss_hostapd[0].bssid)
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# Check that iwd is on BSS 0 once out of roaming state and doesn't
# go through 'disconnected', 'autoconnect', 'connecting' in between
from_condition = 'obj.state == DeviceState.roaming'

View File

@ -48,9 +48,6 @@ class Test(unittest.TestCase):
device.roam(bss1_addr)
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# TODO: verify that the PMK from preauthentication was used
# Check that iwd is on BSS 1 once out of roaming state and doesn't

View File

@ -91,9 +91,6 @@ class Test(unittest.TestCase):
rule0.signal = -8000
rule1.signal = -2000
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# Check that iwd is on BSS 1 once out of roaming state and doesn't
# go through 'disconnected', 'autoconnect', 'connecting' in between
from_condition = 'obj.state == DeviceState.roaming'

View File

@ -67,9 +67,6 @@ class Test(unittest.TestCase):
# connects to BSS 1
rule0.signal = -8000
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# Check that iwd is on BSS 1 once out of roaming state and doesn't
# go through 'disconnected', 'autoconnect', 'connecting' in between
from_condition = 'obj.state == DeviceState.roaming'

View File

@ -39,9 +39,6 @@ class Test(unittest.TestCase):
device.roam(self.bss_hostapd[1].bssid)
condition = 'obj.state == DeviceState.roaming'
wd.wait_for_object_condition(device, condition)
# Check that iwd is on BSS 1 once out of roaming state and doesn't
# go through 'disconnected', 'autoconnect', 'connecting' in between
from_condition = 'obj.state == DeviceState.roaming'