From: Jouni Malinen Date: Fri, 28 Nov 2014 13:12:07 +0000 (+0200) Subject: tests: Remove duplicated connectivity test from mesh X-Git-Tag: hostap_2_4~991 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b57af2aaa1aa7a51ee8408a55c5b2ce67928b11;p=thirdparty%2Fhostap.git tests: Remove duplicated connectivity test from mesh hwsim_utils.test_connectivity() is already bidirectional test, so there is no need to run it twice with the devices swapped for the second iteration. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index d4042895e..e11cf1677 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -224,7 +224,6 @@ def _test_wpas_mesh_open(dev, apdev, test_connectivity): # Test connectivity 0->1 and 1->0 test_connectivity(dev[0], dev[1]) - test_connectivity(dev[1], dev[0]) def test_wpas_mesh_open(dev, apdev): @@ -258,7 +257,6 @@ def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity): # Test connectivity 0->1 and 1->0 test_connectivity(dev[0], dev[1]) - test_connectivity(dev[1], dev[0]) def test_wpas_mesh_open_no_auto(dev, apdev): @@ -295,7 +293,6 @@ def _test_wpas_mesh_secure(dev, apdev, test_connectivity): # Test connectivity 0->1 and 1->0 test_connectivity(dev[0], dev[1]) - test_connectivity(dev[1], dev[0]) def test_wpas_mesh_secure(dev, apdev): @@ -333,7 +330,6 @@ def _test_wpas_mesh_secure_no_auto(dev, apdev, test_connectivity): # Test connectivity 0->1 and 1->0 test_connectivity(dev[0], dev[1]) - test_connectivity(dev[1], dev[0]) def test_wpas_mesh_secure_no_auto(dev, apdev):