tests: Fix python typo
Clearly that should spell Exception.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
diff --git a/tests/hwsim/test_hapd_ctrl.py b/tests/hwsim/test_hapd_ctrl.py
index 7ca4d9b..a2d3784 100644
--- a/tests/hwsim/test_hapd_ctrl.py
+++ b/tests/hwsim/test_hapd_ctrl.py
@@ -128,7 +128,7 @@
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"""