From: Jouni Malinen Date: Sat, 8 Mar 2014 22:58:46 +0000 (+0200) Subject: tests: Fix a typo in check_p2p_response error path X-Git-Tag: hostap_2_2~635 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e423774d3d1283ed7b46c463cbd7ac19ea599c8;p=thirdparty%2Fhostap.git tests: Fix a typo in check_p2p_response error path Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_p2p_messages.py b/tests/hwsim/test_p2p_messages.py index 9d1fc9458..d526d3b7a 100644 --- a/tests/hwsim/test_p2p_messages.py +++ b/tests/hwsim/test_p2p_messages.py @@ -881,7 +881,7 @@ def check_p2p_response(hapd, dialog_token, status): if dialog_token != p2p['dialog_token']: raise Exception("Unexpected dialog token in response") if p2p['p2p_status'] != status: - raise Esception("Unexpected status code %s in response (expected %d)" % (p2p['p2p_status'], status)) + raise Exception("Unexpected status code %s in response (expected %d)" % (p2p['p2p_status'], status)) def test_p2p_msg_go_neg_both_start(dev, apdev): """P2P protocol test for simultaneous GO Neg initiation"""