diff mbox

hwsim tests: fix python typo

Message ID 1425388774-8002-1-git-send-email-johannes@sipsolutions.net
State Accepted
Headers show

Commit Message

Johannes Berg March 3, 2015, 1:19 p.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

Clearly that should spell Exception.

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

Comments

Jouni Malinen March 3, 2015, 3:21 p.m. UTC | #1
On Tue, Mar 03, 2015 at 02:19:34PM +0100, Johannes Berg wrote:
> Clearly that should spell Exception.

Thanks, applied.
diff mbox

Patch

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"""