]> git.ipfire.org Git - thirdparty/hostap.git/commit - tests/hwsim/test_ap_eap.py
tests: Make eap_check_auth() error on missing selectedMethod clearer
authorJouni Malinen <j@w1.fi>
Wed, 6 Jan 2016 22:27:50 +0000 (00:27 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 6 Jan 2016 22:27:50 +0000 (00:27 +0200)
commit447fb0b0da659b99ba713cdb53df9344a102cf32
treec7ce86dc75f315c014435687a52747a54d6c1987
parent4a539abdbdb425d0527eff396a4d4bf3951a6b51
tests: Make eap_check_auth() error on missing selectedMethod clearer

It was possible to hit an error case in ap_wpa2_eap_in_bridge where the
selectedMethod STATUS field was not available. This resulted in not very
helpful "'selectedMethod'" message in the test log file. Make this
clearer by dumping all received STATUS fields and a clearer exception
message indicating that selectedMethod was missing.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_eap.py