mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +00:00
test_utility.py Remove C0122 errors
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -57,14 +57,14 @@ class ClientVisualization(LFCliBase, threading.Thread):
|
|||||||
print(i[j]['port type'])
|
print(i[j]['port type'])
|
||||||
if i[j]['port type'] == "WIFI-STA" and i[j]['parent dev'] == "wiphy1" and i[j]['alias'] != 'wlan1':
|
if i[j]['port type'] == "WIFI-STA" and i[j]['parent dev'] == "wiphy1" and i[j]['alias'] != 'wlan1':
|
||||||
#print(j)
|
#print(j)
|
||||||
if i[j]['down'] == False and i[j]['phantom'] == False and i[j]['ip'] == '0.0.0.0':
|
if i[j]['down'] is False and i[j]['phantom'] is False and i[j]['ip'] == '0.0.0.0':
|
||||||
self.scanning += 1
|
self.scanning += 1
|
||||||
elif i[j]['down'] == False and i[j]['phantom'] == True:
|
elif i[j]['down'] is False and i[j]['phantom'] is True:
|
||||||
self.phantom += 1
|
self.phantom += 1
|
||||||
elif i[j]['down'] == True and i[j]['phantom'] == True:
|
elif i[j]['down'] is True and i[j]['phantom'] is True:
|
||||||
self.phantom += 1
|
self.phantom += 1
|
||||||
self.client_data['phantom'].append(self.phantom)
|
self.client_data['phantom'].append(self.phantom)
|
||||||
elif i[j]['down'] == True and i[j]['phantom'] == False:
|
elif i[j]['down'] is True and i[j]['phantom'] is False:
|
||||||
self.down += 1
|
self.down += 1
|
||||||
elif i[j]['ip'] != "0.0.0.0":
|
elif i[j]['ip'] != "0.0.0.0":
|
||||||
self.ip += 1
|
self.ip += 1
|
||||||
|
|||||||
Reference in New Issue
Block a user