From d371f0cbbf679ffa4ca01f2d831fd11474e92c16 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 7 Aug 2019 12:44:50 +0300 Subject: [PATCH] tests: Fix eap_proto_otp to use list of events with wait_event() Signed-off-by: Jouni Malinen --- tests/hwsim/test_eap_proto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2