From: Jouni Malinen Date: Tue, 17 Oct 2017 21:39:43 +0000 (+0300) Subject: tests: More robust owe_transition_mode* tests X-Git-Tag: hostap_2_7~991 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e5931f0c777a8abbfce9a299720f5b489b359b7;p=thirdparty%2Fhostap.git 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 --- 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",