aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJonathan Afek <jonathan@wizery.com>2016-05-19 13:06:46 (GMT)
committerJouni Malinen <j@w1.fi>2016-05-28 13:34:02 (GMT)
commit5b45f478c28a5e48b25222ae60be4f60f48244c0 (patch)
tree1e2ecbd570b5597d6b36cd99438fff634b349618 /tests
parenta73cdd69c7cd0f7408006c378809d173d86dbb27 (diff)
downloadhostap-5b45f478c28a5e48b25222ae60be4f60f48244c0.zip
hostap-5b45f478c28a5e48b25222ae60be4f60f48244c0.tar.gz
hostap-5b45f478c28a5e48b25222ae60be4f60f48244c0.tar.bz2
tests/remote: Fix style and typos
Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/remote/hwsim_wrapper.py3
-rw-r--r--tests/remote/monitor.py2
-rw-r--r--tests/remote/test_devices.py4
3 files changed, 5 insertions, 4 deletions
diff --git a/tests/remote/hwsim_wrapper.py b/tests/remote/hwsim_wrapper.py
index 8c21a86..d70fe85 100644
--- a/tests/remote/hwsim_wrapper.py
+++ b/tests/remote/hwsim_wrapper.py
@@ -48,7 +48,8 @@ def run_hwsim_test(devices, setup_params, refs, duts, monitors, hwsim_test):
# run hostapd/wpa_supplicant
for ref_host in ref_hosts:
rutils.run_wpasupplicant(ref_host, setup_params)
- wpas = WpaSupplicant(hostname = ref_host.host, global_iface="udp", global_port = ref_host.port)
+ wpas = WpaSupplicant(hostname=ref_host.host, global_iface="udp",
+ global_port=ref_host.port)
wpas.interface_add(ref_host.ifname)
dev.append(wpas)
for dut_host in dut_hosts:
diff --git a/tests/remote/monitor.py b/tests/remote/monitor.py
index e5bcaad..22518e0 100644
--- a/tests/remote/monitor.py
+++ b/tests/remote/monitor.py
@@ -15,7 +15,7 @@ import hostapd
# standalone monitor with multi iface support
def create(devices, setup_params, refs, duts, monitors):
- mons= []
+ mons = []
mhosts = []
hosts = duts + refs
diff --git a/tests/remote/test_devices.py b/tests/remote/test_devices.py
index 4c89c13..97484f5 100644
--- a/tests/remote/test_devices.py
+++ b/tests/remote/test_devices.py
@@ -121,11 +121,11 @@ def check_device(devices, setup_params, dev_name, monitor=False):
status, buf = host.execute(["which", setup_params['iperf']])
if status != 0:
- raise Exception(dev_name + " - hostapd: " + buf)
+ raise Exception(dev_name + " - iperf: " + buf)
status, buf = host.execute(["which", "tshark"])
if status != 0:
- logger.debug(dev_name + " - hostapd: " + buf)
+ logger.debug(dev_name + " - tshark: " + buf)
def check_devices(devices, setup_params, refs, duts, monitors):
"""Check duts/refs/monitors devices"""