]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Fix ap_vlan_wpa2_radius_id_change exception
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 3 Mar 2015 13:40:19 +0000 (15:40 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 3 Mar 2015 13:40:19 +0000 (15:40 +0200)
This was supposed to be Exception("string") not "string".

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_vlan.py

index 93415c14ef5f4b89416ef5aedf6ea7de2a10c41e..cd452976b3dffc01faaa765a3e31ea80cc1d5549 100644 (file)
@@ -116,7 +116,7 @@ def test_ap_vlan_wpa2_radius_id_change(dev, apdev):
     time.sleep(0.1)
     state = dev[0].get_status_field('wpa_state')
     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")
 
 def test_ap_vlan_wpa2_radius_required(dev, apdev):