commit 69c1a1ba7c54144dcbf11e9a34445d70465482aa
parent 50a546705eae8541ceda61eab80d662b69f170ed
Author: James Prestwood <prestwoj@gmail.com>
Date: Tue, 22 Feb 2022 14:28:44 -0800
auto-t: wpas.py: allow arbitrary events to be handled
If an event is in response to some command which is returning an
unexpected value (unexpected with respect to wpas.py) handle_eow
would raise an exception.
Specifically with DPP this was being hit when the URI was being
returned.
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/autotests/util/wpas.py b/autotests/util/wpas.py
@@ -88,8 +88,6 @@ class Wpas:
def handle_eow():
nonlocal key, value, count, event
if count == 0:
- if key is not None or not value:
- raise Exception('Bad event name')
key = 'event'
elif key is None:
if not value: