From e2ec571f06452b46d23ba2f50cb1aa623f07326a Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Thu, 1 Aug 2019 15:26:09 -0700 Subject: [PATCH] auto-t: remove dbus scan call in SAE autoconnect test Doing this scan causes issues in the test. Like with other autoconnect tests we can just use the fact that IWD will always be doing a periodic scan during start up, so we only need to wait for that to finish before querying the network list. --- autotests/testSAE/autoconnect_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/autotests/testSAE/autoconnect_test.py b/autotests/testSAE/autoconnect_test.py index 6d93f591..a45fd09d 100644 --- a/autotests/testSAE/autoconnect_test.py +++ b/autotests/testSAE/autoconnect_test.py @@ -23,11 +23,9 @@ class Test(unittest.TestCase): devices[2].disconnect() devices[3].disconnect() - condition = 'not obj.scanning' + condition = 'obj.scanning' wd.wait_for_object_condition(device, condition) - device.scan() - condition = 'not obj.scanning' wd.wait_for_object_condition(device, condition)