tests: Fix python typo
authorJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2015 13:19:34 +0000 (14:19 +0100)
committerJouni Malinen <j@w1.fi>
Tue, 3 Mar 2015 13:38:01 +0000 (15:38 +0200)
Clearly that should spell Exception.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/test_hapd_ctrl.py

index 7ca4d9b..a2d3784 100644 (file)
@@ -128,7 +128,7 @@ def test_hapd_ctrl_new_sta(dev, apdev):
     if "OK" not in hapd.request("NEW_STA 00:11:22:33:44:55"):
         raise Exception("Unexpected NEW_STA failure")
     if "AUTHORIZED" not in hapd.request("STA 00:11:22:33:44:55"):
-        raise Esception("Unexpected NEW_STA STA status")
+        raise Exception("Unexpected NEW_STA STA status")
 
 def test_hapd_ctrl_get(dev, apdev):
     """hostapd and GET ctrl_iface command"""