From f6b5b6bb4f72977ab233e0b1716cade4caf512ab Mon Sep 17 00:00:00 2001 From: Andrei Otcheretianski Date: Wed, 3 Apr 2019 18:17:15 +0300 Subject: [PATCH] tests: Skip DPP configuration test Skip wpas_config_file_key_mgmt if DPP is not supported. Signed-off-by: Andrei Otcheretianski --- tests/hwsim/test_wpas_config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/hwsim/test_wpas_config.py b/tests/hwsim/test_wpas_config.py index 70b354697..7688c20d1 100644 --- a/tests/hwsim/test_wpas_config.py +++ b/tests/hwsim/test_wpas_config.py @@ -541,7 +541,10 @@ def test_wpas_config_file_key_mgmt(dev, apdev, params): wpas.interface_add("wlan5", config=config) - from test_dpp import params1_csign, params1_sta_connector, params1_sta_netaccesskey + from test_dpp import params1_csign, params1_sta_connector, params1_sta_netaccesskey, check_dpp_capab + + check_dpp_capab(wpas) + id = wpas.add_network() wpas.set_network_quoted(id, "ssid", "foo") wpas.set_network(id, "key_mgmt", "DPP")