summaryrefslogtreecommitdiffstatshomepage
path: root/tests/wipy/wlan
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wipy/wlan')
-rw-r--r--tests/wipy/wlan/wlan.py5
-rw-r--r--tests/wipy/wlan/wlan.py.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/wipy/wlan/wlan.py b/tests/wipy/wlan/wlan.py
index 3d04c98664..9e18f0c4c2 100644
--- a/tests/wipy/wlan/wlan.py
+++ b/tests/wipy/wlan/wlan.py
@@ -44,6 +44,11 @@ scan_r = wifi.scan()
print(len(scan_r) > 3)
for net in scan_r:
if net.ssid == testconfig.wlan_ssid:
+ # test that the scan results contains the desired params
+ print(len(net.bssid) == 6)
+ print(net.channel == None)
+ print(net.sec == testconfig.wlan_auth[0])
+ print(net.rssi < 0)
print('Network found')
break
diff --git a/tests/wipy/wlan/wlan.py.exp b/tests/wipy/wlan/wlan.py.exp
index 6d27bb31c0..41253eab7c 100644
--- a/tests/wipy/wlan/wlan.py.exp
+++ b/tests/wipy/wlan/wlan.py.exp
@@ -11,6 +11,10 @@ True
True
True
True
+True
+True
+True
+True
Network found
True
True