]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Prepare ap_blacklist_all for implementation change
authorJouni Malinen <j@w1.fi>
Sat, 10 Oct 2020 15:33:57 +0000 (18:33 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 10 Oct 2020 15:34:59 +0000 (18:34 +0300)
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 <j@w1.fi>
tests/hwsim/test_ap_roam.py

index 50b4c7248cf5326965e24f9fb233d3422332c007..fca3b57c5cd3cc49a9180b6e339b22d3fe67b4c3 100644 (file)
@@ -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()