We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f59ded commit 4363b3eCopy full SHA for 4363b3e
tests/automated/helpers.py
@@ -49,7 +49,12 @@ def _connect_wifi(dongle_id, pw):
49
assert cnt < MAX_TRIES
50
if "-pair" in wifi_scan[0]:
51
os.system("nmcli d wifi connect %s-pair" % (ssid))
52
+ # fetch webpage
53
print "connecting to insecure network to secure"
54
+ r = requests.get("http://192.168.0.10/")
55
+ assert r.status_code==200
56
+
57
+ print "securing"
58
try:
59
r = requests.get("http://192.168.0.10/secure", timeout=0.01)
60
except requests.exceptions.Timeout:
0 commit comments