tests: Skip LEAP tests if not included in the build

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2015-08-02 15:58:08 +03:00
parent 24072e17bc
commit 597516df79

View file

@ -558,6 +558,7 @@ def test_eap_proto_sake(dev, apdev):
def test_eap_proto_leap(dev, apdev):
"""EAP-LEAP protocol tests"""
check_eap_capa(dev[0], "LEAP")
def leap_handler(ctx, req):
logger.info("leap_handler - RX " + req.encode("hex"))
if 'num' not in ctx: