All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 09/12] auto-t: wpas.py: allow arbitrary events to be handled
@ 2022-01-18 21:25 James Prestwood
  0 siblings, 0 replies; only message in thread
From: James Prestwood @ 2022-01-18 21:25 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

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.
---
 autotests/util/wpas.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/autotests/util/wpas.py b/autotests/util/wpas.py
index 6b845232..c8e65179 100644
--- 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:
-- 
2.31.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-18 21:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18 21:25 [PATCH 09/12] auto-t: wpas.py: allow arbitrary events to be handled James Prestwood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.