tests: Python coding style cleanup (pylint3 bad-whitespace)

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2019-03-15 12:10:37 +02:00 committed by Jouni Malinen
parent 009b54bedd
commit fab49f6145
102 changed files with 7660 additions and 7645 deletions

View file

@ -16,9 +16,9 @@ import hostapd
from utils import *
def wait_dfs_event(hapd, event, timeout):
dfs_events = [ "DFS-RADAR-DETECTED", "DFS-NEW-CHANNEL",
"DFS-CAC-START", "DFS-CAC-COMPLETED",
"DFS-NOP-FINISHED", "AP-ENABLED", "AP-CSA-FINISHED" ]
dfs_events = ["DFS-RADAR-DETECTED", "DFS-NEW-CHANNEL",
"DFS-CAC-START", "DFS-CAC-COMPLETED",
"DFS-NOP-FINISHED", "AP-ENABLED", "AP-CSA-FINISHED"]
ev = hapd.wait_event(dfs_events, timeout=timeout)
if not ev:
raise Exception("DFS event timed out")
@ -283,7 +283,7 @@ def test_dfs_radar2(dev, apdev):
@remote_compatible
def test_dfs_radar_on_non_dfs_channel(dev, apdev):
"""DFS radar detection test code on non-DFS channel"""
params = { "ssid": "radar" }
params = {"ssid": "radar"}
hapd = hostapd.add_ap(apdev[0], params)
hapd.request("RADAR DETECTED freq=5260 ht_enabled=1 chan_width=1")