tests: Skip LEAP tests if not included in the build
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
24072e17bc
commit
597516df79
1 changed files with 1 additions and 0 deletions
|
@ -558,6 +558,7 @@ def test_eap_proto_sake(dev, apdev):
|
||||||
|
|
||||||
def test_eap_proto_leap(dev, apdev):
|
def test_eap_proto_leap(dev, apdev):
|
||||||
"""EAP-LEAP protocol tests"""
|
"""EAP-LEAP protocol tests"""
|
||||||
|
check_eap_capa(dev[0], "LEAP")
|
||||||
def leap_handler(ctx, req):
|
def leap_handler(ctx, req):
|
||||||
logger.info("leap_handler - RX " + req.encode("hex"))
|
logger.info("leap_handler - RX " + req.encode("hex"))
|
||||||
if 'num' not in ctx:
|
if 'num' not in ctx:
|
||||||
|
|
Loading…
Reference in a new issue