mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-30 16:54:04 -05:00
tests: Fix ap_vlan_wpa2_radius_id_change exception
This was supposed to be Exception("string") not "string". Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
cba262e39b
commit
9416e47f47
@ -116,7 +116,7 @@ def test_ap_vlan_wpa2_radius_id_change(dev, apdev):
|
|||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
state = dev[0].get_status_field('wpa_state')
|
state = dev[0].get_status_field('wpa_state')
|
||||||
if state != "COMPLETED":
|
if state != "COMPLETED":
|
||||||
raise("Unexpected state after reauth: " + state)
|
raise Exception("Unexpected state after reauth: " + state)
|
||||||
hwsim_utils.test_connectivity_iface(dev[0], hapd, "brvlan2")
|
hwsim_utils.test_connectivity_iface(dev[0], hapd, "brvlan2")
|
||||||
|
|
||||||
def test_ap_vlan_wpa2_radius_required(dev, apdev):
|
def test_ap_vlan_wpa2_radius_required(dev, apdev):
|
||||||
|
Loading…
Reference in New Issue
Block a user