]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: More robust error handling for wifi_display_parsing
authorJouni Malinen <quic_jouni@quicinc.com>
Thu, 29 Aug 2024 13:00:10 +0000 (16:00 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 29 Aug 2024 17:10:22 +0000 (20:10 +0300)
commit3935d78e7b40a02a3665ac75c62e9b73ecb72469
tree44523c8b6837b433bfac94bb9f999d351d72e003
parent2b7277d3f0de43f845d5a4787ada087f1c8fee5d
tests: More robust error handling for wifi_display_parsing

Check explicitly that wfd_subelems is present in the dict instead of
failing on a key error when trying to fetch it.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_p2p_wifi_display.py