From 146374019a975a43f9c1f9bcde89a02dec8ab12e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 7 Dec 2014 23:48:05 +0200 Subject: [PATCH] tests: Add missing test descriptions Signed-off-by: Jouni Malinen --- tests/hwsim/test_ap_vht.py | 1 + tests/hwsim/test_nfc_p2p.py | 2 ++ tests/hwsim/test_p2p_channel.py | 1 + tests/hwsim/test_wpas_mesh.py | 8 ++++---- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/hwsim/test_ap_vht.py b/tests/hwsim/test_ap_vht.py index d4c3e4c84..5b9a9fe01 100644 --- a/tests/hwsim/test_ap_vht.py +++ b/tests/hwsim/test_ap_vht.py @@ -83,6 +83,7 @@ def test_ap_vht80_params(dev, apdev): subprocess.call(['sudo', 'iw', 'reg', 'set', '00']) def test_ap_vht_20(devs, apdevs): + """VHT and 20 MHz channel""" dev = devs[0] ap = apdevs[0] try: diff --git a/tests/hwsim/test_nfc_p2p.py b/tests/hwsim/test_nfc_p2p.py index ed09cc2f7..9a879a519 100644 --- a/tests/hwsim/test_nfc_p2p.py +++ b/tests/hwsim/test_nfc_p2p.py @@ -552,6 +552,7 @@ def test_nfc_p2p_static_handover_join_tagdev_client(dev): check_ip_addr(res) def test_nfc_p2p_go_legacy_config_token(dev): + """NFC config token from P2P GO to legacy WPS STA""" logger.info("Start autonomous GOs") dev[0].p2p_start_go() logger.info("Connect legacy WPS STA with configuration token") @@ -570,6 +571,7 @@ def test_nfc_p2p_go_legacy_config_token(dev): dev[0].remove_group() def test_nfc_p2p_go_legacy_handover(dev): + """NFC token from legacy WPS STA to P2P GO""" logger.info("Start autonomous GOs") dev[0].p2p_start_go() logger.info("Connect legacy WPS STA with connection handover") diff --git a/tests/hwsim/test_p2p_channel.py b/tests/hwsim/test_p2p_channel.py index 600071ed8..118c5ef36 100644 --- a/tests/hwsim/test_p2p_channel.py +++ b/tests/hwsim/test_p2p_channel.py @@ -442,6 +442,7 @@ def test_no_go_freq(dev, apdev): dev[0].request("SET p2p_no_go_freq ") def test_go_neg_peers_force_diff_freq(dev, apdev): + """P2P channel selection when peers for different frequency""" try: [i_res2, r_res2] = go_neg_pbc(i_dev=dev[0], i_intent=14, i_freq=5180, r_dev=dev[1], r_intent=0, r_freq=5200) diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 8bdaa5dcd..94810962f 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -197,7 +197,6 @@ def wrap_wpas_mesh_test(test, dev, apdev): def _test_wpas_mesh_open(dev, apdev, test_connectivity): - """wpa_supplicant open MESH network connectivity""" id = dev[0].add_network() dev[0].set_network(id, "mode", "5") dev[0].set_network_quoted(id, "ssid", "wpas-mesh-open") @@ -227,11 +226,11 @@ def _test_wpas_mesh_open(dev, apdev, test_connectivity): def test_wpas_mesh_open(dev, apdev): + """wpa_supplicant open MESH network connectivity""" return wrap_wpas_mesh_test(_test_wpas_mesh_open, dev, apdev) def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity): - """wpa_supplicant open MESH network connectivity""" id = dev[0].add_network() dev[0].set_network(id, "mode", "5") dev[0].set_network_quoted(id, "ssid", "wpas-mesh-open") @@ -262,11 +261,11 @@ def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity): def test_wpas_mesh_open_no_auto(dev, apdev): + """wpa_supplicant open MESH network connectivity""" return wrap_wpas_mesh_test(_test_wpas_mesh_open_no_auto, dev, apdev) def _test_wpas_mesh_secure(dev, apdev, test_connectivity): - """wpa_supplicant secure MESH network connectivity""" dev[0].request("SET sae_groups ") id = dev[0].add_network() dev[0].set_network(id, "mode", "5") @@ -298,11 +297,11 @@ def _test_wpas_mesh_secure(dev, apdev, test_connectivity): def test_wpas_mesh_secure(dev, apdev): + """wpa_supplicant secure MESH network connectivity""" return wrap_wpas_mesh_test(_test_wpas_mesh_secure, dev, apdev) def _test_wpas_mesh_secure_no_auto(dev, apdev, test_connectivity): - """wpa_supplicant secure MESH network connectivity""" dev[0].request("SET sae_groups ") id = dev[0].add_network() dev[0].set_network(id, "mode", "5") @@ -335,6 +334,7 @@ def _test_wpas_mesh_secure_no_auto(dev, apdev, test_connectivity): def test_wpas_mesh_secure_no_auto(dev, apdev): + """wpa_supplicant secure MESH network connectivity""" return wrap_wpas_mesh_test(_test_wpas_mesh_secure_no_auto, dev, apdev) def test_wpas_mesh_ctrl(dev):