commit 51d4e144402bb7958ac7dba12d27404f4c4b97a6
parent c852892426638edb4a912dc7f7e01fe4a2fab7b2
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 28 Mar 2022 10:28:37 -0700
auto-t: do full scan for testSAE
This will ensure the IWD scans until the network is found.
Diffstat:
1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/autotests/testSAE/connection_test.py b/autotests/testSAE/connection_test.py
@@ -23,19 +23,7 @@ class Test(unittest.TestCase):
device.disconnect()
- wd.wait_for_object_condition(device, 'not obj.scanning')
-
- device.debug_scan([2412])
-
- wd.wait_for_object_condition(device, 'obj.scanning')
- wd.wait_for_object_condition(device, 'not obj.scanning')
-
- #
- # An explicit scan was done prior due to hostapd options changing.
- # Because of this scan_if_needed is set to False to avoid a redundant
- # scan
- #
- network = device.get_ordered_network('ssidSAE', scan_if_needed=False)
+ network = device.get_ordered_network('ssidSAE', full_scan=True)
self.assertEqual(network.type, NetworkType.psk)