tests: Python coding style cleanup (pylint3 unneeded-not)
Use more readable "foo not in bar" construction for the couple of places that did "not foo in bar". Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
2f22ed4fab
commit
a8b8da1132
12 changed files with 27 additions and 27 deletions
|
@ -720,9 +720,9 @@ class STAConnection:
|
|||
freq = params.pop("freq")
|
||||
if sta_params is None:
|
||||
sta_params = dict()
|
||||
if not "ocv" in sta_params:
|
||||
if "ocv" not in sta_params:
|
||||
sta_params["ocv"] = "1"
|
||||
if not "ieee80211w" in sta_params:
|
||||
if "ieee80211w" not in sta_params:
|
||||
sta_params["ieee80211w"] = "1"
|
||||
|
||||
params.update(hostapd.wpa2_params(ssid=self.ssid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue