From: Jouni Malinen Date: Sat, 22 Mar 2014 16:39:17 +0000 (+0200) Subject: tests: Print BSS data on ap_wps_ie_fragmention error case X-Git-Tag: hostap_2_2~490 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d7a68ad6b92eb8abed4f398ea7f45cd8eed08f85;p=thirdparty%2Fhostap.git tests: Print BSS data on ap_wps_ie_fragmention error case This makes it easier to debug what failed. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_wps.py b/tests/hwsim/test_ap_wps.py index ee64077d6..bd5e3c05c 100644 --- a/tests/hwsim/test_ap_wps.py +++ b/tests/hwsim/test_ap_wps.py @@ -1078,6 +1078,7 @@ def test_ap_wps_ie_fragmentation(dev, apdev): raise Exception("Association with the AP timed out") bss = dev[0].get_bss(apdev[0]['bssid']) if "wps_device_name" not in bss or bss['wps_device_name'] != "1234567890abcdef1234567890abcdef": + logger.info(bss) raise Exception("Device Name not received correctly") if len(re.findall("dd..0050f204", bss['ie'])) != 2: raise Exception("Unexpected number of WPS IEs")