From 8e5931f0c777a8abbfce9a299720f5b489b359b7 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Wed, 18 Oct 2017 00:39:43 +0300 Subject: [PATCH] tests: More robust owe_transition_mode* tests Flush old scan results in these test cases to avoid checking incorrect scan result entry. Signed-off-by: Jouni Malinen --- tests/hwsim/test_owe.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/hwsim/test_owe.py b/tests/hwsim/test_owe.py index 75ab3bdbb..d15429671 100644 --- a/tests/hwsim/test_owe.py +++ b/tests/hwsim/test_owe.py @@ -141,6 +141,7 @@ def test_owe_transition_mode_connect_cmd(dev, apdev): def run_owe_transition_mode(dev, apdev): if "OWE" not in dev[0].get_capability("key_mgmt"): raise HwsimSkip("OWE not supported") + dev[0].flush_scan_cache() params = { "ssid": "owe-random", "wpa": "2", "wpa_key_mgmt": "OWE",