From 5653301409b7d8fcc76b4052032f5534bff51e9e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 10 Oct 2020 18:33:57 +0300 Subject: [PATCH] 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 --- tests/hwsim/test_ap_roam.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()