We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae70e98 commit f4c50f1Copy full SHA for f4c50f1
1 file changed
tests/wipy/wlan/wlan.py
@@ -40,6 +40,7 @@ def wait_for_connection(wifi, timeout=10):
40
41
wifi = WLAN(mode=WLAN.STA)
42
print(wifi.mode() == WLAN.STA)
43
+time.sleep(5) # this ensures a full network scan
44
scan_r = wifi.scan()
45
print(len(scan_r) > 3)
46
for net in scan_r:
@@ -67,6 +68,7 @@ def wait_for_connection(wifi, timeout=10):
67
68
69
wifi.antenna(WLAN.EXT_ANT)
70
print(wifi.antenna() == WLAN.EXT_ANT)
71
+time.sleep(2) # this ensures a full network scan
72
73
74
0 commit comments