From: Jouni Malinen Date: Sat, 10 Oct 2020 15:33:57 +0000 (+0300) Subject: tests: Prepare ap_blacklist_all for implementation change X-Git-Tag: hostap_2_10~891 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5653301409b7d8fcc76b4052032f5534bff51e9e;p=thirdparty%2Fhostap.git tests: Prepare ap_blacklist_all for implementation change The blacklist design will be modified in the following commits and that would result in this validation step based on the older implementation starting to fail. Remove this check to avoid such testing failures. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_roam.py b/tests/hwsim/test_ap_roam.py index 50b4c7248..fca3b57c5 100644 --- a/tests/hwsim/test_ap_roam.py +++ b/tests/hwsim/test_ap_roam.py @@ -44,8 +44,7 @@ def test_ap_blacklist_all(dev, apdev, params): if not dev[0].wait_event(["CTRL-EVENT-AUTH-REJECT"], timeout=10): raise Exception("AP 1 didn't reject us") blacklist = get_blacklist(dev[0]) - if len(blacklist) != 2: - raise Exception("Unexpected blacklist: %s" % blacklist) + logger.info("blacklist: " + str(blacklist)) dev[0].request("REMOVE_NETWORK all") dev[0].dump_monitor()