Message ID | 1413950713-32285-1-git-send-email-me@bobcopeland.com |
---|---|
State | Accepted |
Headers | show |
On Wed, Oct 22, 2014 at 12:05:13AM -0400, Bob Copeland wrote: > This patch fixes up test_wpas_mesh.py to pass the dev into > hwsim_utils.test_connectivity instead of the ifname, in order to > fix this error with the mesh tests: Thanks, merged into the commit that adds this file in the mesh branch.
diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 84ef00d..c5eea72 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -191,7 +191,7 @@ def wrap_wpas_mesh_test(test, dev, apdev): import hwsim_utils def _test_connectivity(dev1, dev2): - return hwsim_utils.test_connectivity(dev1.ifname, dev2.ifname) + return hwsim_utils.test_connectivity(dev1, dev2) return test(dev, apdev, _test_connectivity)
This patch fixes up test_wpas_mesh.py to pass the dev into hwsim_utils.test_connectivity instead of the ifname, in order to fix this error with the mesh tests: 2014-10-20 12:38:41,972 INFO 'str' object has no attribute 'own_addr' Signed-off-by: Bob Copeland <me@bobcopeland.com> --- tests/hwsim/test_wpas_mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)