diff mbox series

tests: Skip DPP configuration test

Message ID 20190403151719.12165-5-andrei.otcheretianski@intel.com
State Accepted
Headers show
Series tests: Skip DPP configuration test | expand

Commit Message

Andrei Otcheretianski April 3, 2019, 3:17 p.m. UTC
Skip wpas_config_file_key_mgmt if DPP is not supported.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
---
 tests/hwsim/test_wpas_config.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Jouni Malinen April 6, 2019, 3:51 p.m. UTC | #1
On Wed, Apr 03, 2019 at 06:17:15PM +0300, Andrei Otcheretianski wrote:
> Skip wpas_config_file_key_mgmt if DPP is not supported.

Thanks, applied.
diff mbox series

Patch

diff --git a/tests/hwsim/test_wpas_config.py b/tests/hwsim/test_wpas_config.py
index 70b354697b..7688c20d1c 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")