tests: Additional HS20_WNM_NOTIF coverage
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
95de34a10a
commit
d0d215d4b7
1 changed files with 2 additions and 0 deletions
|
@ -2525,6 +2525,8 @@ def _test_ap_hs20_remediation_required_ctrl(dev, apdev):
|
||||||
raise Exception("Unexpected HS20_WNM_NOTIF success")
|
raise Exception("Unexpected HS20_WNM_NOTIF success")
|
||||||
if "FAIL" not in hapd.request("HS20_WNM_NOTIF " + addr + " https://12345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678927.very.long.example.com/"):
|
if "FAIL" not in hapd.request("HS20_WNM_NOTIF " + addr + " https://12345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678923456789842345678456783456712345678927.very.long.example.com/"):
|
||||||
raise Exception("Unexpected HS20_WNM_NOTIF success")
|
raise Exception("Unexpected HS20_WNM_NOTIF success")
|
||||||
|
if "OK" not in hapd.request("HS20_WNM_NOTIF " + addr + " "):
|
||||||
|
raise Exception("HS20_WNM_NOTIF failed with empty URL")
|
||||||
|
|
||||||
def test_ap_hs20_session_info(dev, apdev):
|
def test_ap_hs20_session_info(dev, apdev):
|
||||||
"""Hotspot 2.0 connection and session information from RADIUS"""
|
"""Hotspot 2.0 connection and session information from RADIUS"""
|
||||||
|
|
Loading…
Reference in a new issue