From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============5170577126504702054==" MIME-Version: 1.0 From: James Prestwood Subject: [PATCH v5 24/26] auto-t: fix testWPA2 to wait for device object Date: Thu, 10 Sep 2020 16:12:45 -0700 Message-ID: <20200910231248.4995-24-prestwoj@gmail.com> In-Reply-To: <20200910231248.4995-1-prestwoj@gmail.com> List-Id: To: iwd@lists.01.org --===============5170577126504702054== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --- autotests/testWPA2/connection_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autotests/testWPA2/connection_test.py b/autotests/testWPA2/con= nection_test.py index dcb4722e..3ff9b50f 100644 --- a/autotests/testWPA2/connection_test.py +++ b/autotests/testWPA2/connection_test.py @@ -38,8 +38,8 @@ class Test(unittest.TestCase): = ordered_network.network_object.connect() = - condition =3D 'obj.connected' - wd.wait_for_object_condition(ordered_network.network_object, condi= tion) + condition =3D 'obj.state =3D=3D DeviceState.connected' + wd.wait_for_object_condition(device, condition) = testutil.test_iface_operstate() testutil.test_ifaces_connected() -- = 2.26.2 --===============5170577126504702054==--