mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
auto-t: check for known networks in EAP-WSC
Make sure changes to WSC continue to work with known networks
This commit is contained in:
parent
8500b60b13
commit
c17b0ce04e
@ -25,6 +25,8 @@ class Test(unittest.TestCase):
|
||||
condition = 'obj.state == DeviceState.connected'
|
||||
wd.wait_for_object_condition(device, condition)
|
||||
|
||||
self.assertEqual(len(wd.list_known_networks()), 1)
|
||||
|
||||
device.disconnect()
|
||||
|
||||
condition = 'obj.state == DeviceState.disconnected'
|
||||
|
@ -25,6 +25,8 @@ class Test(unittest.TestCase):
|
||||
condition = 'obj.state == DeviceState.connected'
|
||||
wd.wait_for_object_condition(device, condition)
|
||||
|
||||
self.assertEqual(len(wd.list_known_networks()), 1)
|
||||
|
||||
device.disconnect()
|
||||
|
||||
condition = 'obj.state == DeviceState.disconnected'
|
||||
|
@ -24,6 +24,8 @@ class Test(unittest.TestCase):
|
||||
condition = 'obj.state == DeviceState.connected'
|
||||
wd.wait_for_object_condition(device, condition)
|
||||
|
||||
self.assertEqual(len(wd.list_known_networks()), 1)
|
||||
|
||||
device.disconnect()
|
||||
|
||||
condition = 'obj.state == DeviceState.disconnected'
|
||||
|
Loading…
Reference in New Issue
Block a user