]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Add missing test descriptions
authorJouni Malinen <j@w1.fi>
Sun, 7 Dec 2014 21:48:05 +0000 (23:48 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 8 Dec 2014 09:42:06 +0000 (11:42 +0200)
Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_ap_vht.py
tests/hwsim/test_nfc_p2p.py
tests/hwsim/test_p2p_channel.py
tests/hwsim/test_wpas_mesh.py

index d4c3e4c84dd841d2eca60f40488a8aed163108f2..5b9a9fe019e00b91937eae94d08300ab39587fa9 100644 (file)
@@ -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:
index ed09cc2f72a95e069f4f773bbef3d5ef03f27ecc..9a879a519913ff1156285a947ea093c9996ec292 100644 (file)
@@ -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")
index 600071ed80437cf8d29e1e94d02b5cb7a9d15a6f..118c5ef36c5ff48444347d1459dff17f3b9c7a8e 100644 (file)
@@ -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)
index 8bdaa5dcd1f20a7437862818f834b9233ef27a47..94810962f32e332744cca190e7c4474887b9c6e3 100644 (file)
@@ -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):