tests: Python coding style cleanup (pylint3 bad-whitespace)
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
009b54bedd
commit
fab49f6145
102 changed files with 7660 additions and 7645 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue