commit f717480c1805bf5bb0c8fd1e86ac176f0f541c47
parent 12c77ef647019056189d21a8189d4d6460707e09
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 28 Mar 2022 10:28:39 -0700
auto-t: do a full scan when getting network
This ensures the network will be scanned for again if not found.
Diffstat:
1 file changed, 1 insertion(+), 12 deletions(-)
diff --git a/autotests/testOWE-transition/connection_test.py b/autotests/testOWE-transition/connection_test.py
@@ -20,18 +20,7 @@ class Test(unittest.TestCase):
if not autoconnect:
if not connect_hidden:
- condition = 'not obj.scanning'
- wd.wait_for_object_condition(device, condition)
-
- device.scan()
-
- condition = 'obj.scanning'
- wd.wait_for_object_condition(device, condition)
-
- condition = 'not obj.scanning'
- wd.wait_for_object_condition(device, condition)
-
- network = device.get_ordered_network('transition', scan_if_needed=False)
+ network = device.get_ordered_network('transition', full_scan=True)
network.network_object.connect()
else: