[PATCH] hwsim tests: fix python typo

Johannes Berg johannes
Tue Mar 3 05:19:34 PST 2015


From: Johannes Berg <johannes.berg at intel.com>

Clearly that should spell Exception.

Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
 tests/hwsim/test_hapd_ctrl.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/hwsim/test_hapd_ctrl.py b/tests/hwsim/test_hapd_ctrl.py
index 7ca4d9b8ff4d..a2d378452ed1 100644
--- a/tests/hwsim/test_hapd_ctrl.py
+++ b/tests/hwsim/test_hapd_ctrl.py
@@ -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"""
-- 
2.1.4




More information about the Hostap mailing list