From: Jouni Malinen Date: Wed, 7 Aug 2019 09:44:50 +0000 (+0300) Subject: tests: Fix eap_proto_otp to use list of events with wait_event() X-Git-Tag: hostap_2_9~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d371f0cbbf679ffa4ca01f2d831fd11474e92c16;p=thirdparty%2Fhostap.git tests: Fix eap_proto_otp to use list of events with wait_event() Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_eap_proto.py b/tests/hwsim/test_eap_proto.py index ddcaa3b01..ece527aba 100644 --- a/tests/hwsim/test_eap_proto.py +++ b/tests/hwsim/test_eap_proto.py @@ -1735,7 +1735,7 @@ def test_eap_proto_otp(dev, apdev): raise Exception("Request for password timed out") id = ev.split(':')[0].split('-')[-1] dev[0].request("CTRL-RSP-OTP-" + id + ":password") - ev = dev[0].wait_event("CTRL-EVENT-EAP-SUCCESS") + ev = dev[0].wait_event(["CTRL-EVENT-EAP-SUCCESS"]) if ev is None: raise Exception("Success not reported") finally: