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 <j@w1.fi>
This commit is contained in:
Jouni Malinen 2020-10-10 18:33:57 +03:00
parent 6d6310701b
commit 5653301409

View 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): if not dev[0].wait_event(["CTRL-EVENT-AUTH-REJECT"], timeout=10):
raise Exception("AP 1 didn't reject us") raise Exception("AP 1 didn't reject us")
blacklist = get_blacklist(dev[0]) blacklist = get_blacklist(dev[0])
if len(blacklist) != 2: logger.info("blacklist: " + str(blacklist))
raise Exception("Unexpected blacklist: %s" % blacklist)
dev[0].request("REMOVE_NETWORK all") dev[0].request("REMOVE_NETWORK all")
dev[0].dump_monitor() dev[0].dump_monitor()