Lines Matching refs:status

83     status = dev[0].get_status()
84 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
86 if status['ssid'] != ssid:
88 if status['pairwise_cipher'] != 'CCMP':
90 if status['key_mgmt'] != 'WPA2-PSK':
93 status = hapd.request("WPS_GET_STATUS")
94 if "PBC Status: Disabled" not in status:
96 if "Last WPS result: Success" not in status:
98 if "Peer Address: " + dev[0].p2p_interface_addr() not in status:
249 status = dev[0].get_status()
250 if status['wpa_state'] != 'COMPLETED':
252 if status['bssid'] != apdev[0]['bssid']:
254 if status['ssid'] != ssid:
256 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'CCMP':
258 if status['key_mgmt'] != 'WPA2-PSK':
367 status = hapd.request("WPS_GET_STATUS")
368 if "Last WPS result: Failed" not in status:
399 status = dev[0].get_status()
400 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
402 if status['ssid'] != ssid:
404 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'CCMP':
406 if status['key_mgmt'] != 'WPA2-PSK':
440 status = dev[0].get_status()
443 …if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'TKIP' or status['key_mgmt'] !…
444 …iguration: pairwise=%s group=%s key_mgmt=%s" % (status['pairwise_cipher'], status['group_cipher'],…
455 status = dev[0].get_status()
458 …if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'TKIP' or status['key_mgmt'] !…
459 …iguration: pairwise=%s group=%s key_mgmt=%s" % (status['pairwise_cipher'], status['group_cipher'],…
472 status = dev[0].get_status()
475 …if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'TKIP' or status['key_mgmt'] !…
476 …iguration: pairwise=%s group=%s key_mgmt=%s" % (status['pairwise_cipher'], status['group_cipher'],…
571 status = dev[0].get_status()
572 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
574 if status['ssid'] != ssid:
576 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'CCMP':
578 if status['key_mgmt'] != 'WPA2-PSK':
614 status = dev[0].get_status()
615 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
617 if status['ssid'] != ssid:
619 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'TKIP':
621 if status['key_mgmt'] != 'WPA2-PSK':
752 status = dev[0].get_status()
753 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
755 if status['ssid'] != new_ssid:
757 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'CCMP':
759 if status['key_mgmt'] != 'WPA2-PSK':
767 status = dev[0].get_status()
768 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
770 if status['ssid'] != "wps-open":
772 if status['key_mgmt'] != 'NONE':
825 status = dev[0].get_status()
826 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
827 … Exception("Not fully connected: wpa_state={} bssid={}".format(status['wpa_state'], status['bssid'…
828 if status['ssid'] != new_ssid:
830 if status['pairwise_cipher'] != 'CCMP':
832 if status['group_cipher'] != 'TKIP':
834 if "group_cipher=CCMP" not in conf or status['group_cipher'] != 'CCMP':
836 if status['key_mgmt'] != 'WPA2-PSK':
881 status = hapd.request("WPS_GET_STATUS")
882 if "Last WPS result: Failed" not in status:
884 if "Peer Address: " + dev[0].p2p_interface_addr() not in status:
1180 status = dev[0].get_status()
1181 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
1183 if status['ssid'] != ssid:
1185 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'CCMP':
1187 if status['key_mgmt'] != 'WPA2-PSK':
1475 status = dev[0].get_status()
1476 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
1627 status = dev[0].get_status()
1628 if status['wpa_state'] != 'COMPLETED' or status['bssid'] != apdev[0]['bssid']:
2078 status = dev[0].get_status()
2079 if status['wpa_state'] != 'COMPLETED':
2081 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'TKIP':
2083 if status['key_mgmt'] != 'WPA2-PSK':
2093 status = dev[1].get_status()
2094 if status['wpa_state'] != 'COMPLETED':
2096 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'TKIP':
2098 if status['key_mgmt'] != 'WPA2-PSK':
2105 status = dev[2].get_status()
2106 if status['wpa_state'] != 'COMPLETED':
2108 if status['pairwise_cipher'] != 'CCMP' or status['group_cipher'] != 'TKIP':
2110 if status['key_mgmt'] != 'WPA2-PSK':
2203 status = hapd.request("WPS_GET_STATUS")
2204 if "Last WPS result: Failed" not in status:
2206 if "Failure Reason: WEP Prohibited" not in status:
2208 if "Peer Address: " + dev[0].p2p_interface_addr() not in status:
2609 if resp.status != 200:
2610 raise Exception("Unexpected HTTP response: %d" % resp.status)
2628 if resp.status != 200:
2629 raise Exception("Unexpected HTTP response: %d" % resp.status)
3076 if resp.status != 404:
3077 raise Exception("Unexpected HTTP response: %d" % resp.status)
3081 if resp.status != 501:
3082 raise Exception("Unexpected HTTP response: %d" % resp.status)
3089 if resp.status != 401:
3090 raise Exception("Unexpected HTTP response: %d" % resp.status)
3095 if resp.status != 401:
3096 raise Exception("Unexpected HTTP response: %d" % resp.status)
3106 if resp.status != 401:
3107 raise Exception("Unexpected HTTP response: %d" % resp.status)
3110 if resp.status != 200:
3111 raise Exception("Unexpected HTTP response: %d" % resp.status)
3118 if resp.status != 600:
3119 raise Exception("Unexpected HTTP response: %d" % resp.status)
3123 if resp.status != 600:
3124 raise Exception("Unexpected HTTP response: %d" % resp.status)
3128 if resp.status != 501:
3129 raise Exception("Unexpected HTTP response: %d" % resp.status)
3133 if resp.status != 401:
3134 raise Exception("Unexpected HTTP response: %d" % resp.status)
3152 if resp.status != 412:
3153 raise Exception("Unexpected HTTP response: %d" % resp.status)
3157 if resp.status != 412:
3158 raise Exception("Unexpected HTTP response: %d" % resp.status)
3164 if resp.status != 412:
3165 raise Exception("Unexpected HTTP response: %d" % resp.status)
3172 if resp.status != 400:
3173 raise Exception("Unexpected HTTP response: %d" % resp.status)
3181 if resp.status != 200:
3182 raise Exception("Unexpected HTTP response: %d" % resp.status)
3192 if resp.status != 400:
3193 raise Exception("Unexpected HTTP response: %d" % resp.status)
3201 if resp.status != 400:
3202 raise Exception("Unexpected HTTP response: %d" % resp.status)
3211 if resp.status != 400:
3212 raise Exception("Unexpected HTTP response: %d" % resp.status)
3220 if resp.status != 412:
3221 raise Exception("Unexpected HTTP response: %d" % resp.status)
3229 if resp.status != 200:
3230 raise Exception("Unexpected HTTP response: %d" % resp.status)
3243 if resp.status != 200:
3244 raise Exception("Unexpected HTTP response: %d" % resp.status)
3250 if resp.status != 412:
3251 raise Exception("Unexpected HTTP response: %d" % resp.status)
3255 if resp.status != 412:
3256 raise Exception("Unexpected HTTP response: %d" % resp.status)
3262 if resp.status != 200:
3263 raise Exception("Unexpected HTTP response: %d" % resp.status)
3269 if resp.status != 412:
3270 raise Exception("Unexpected HTTP response: %d" % resp.status)
3276 if resp.status != 400:
3277 raise Exception("Unexpected HTTP response: %d" % resp.status)
3283 if resp.status != 400:
3284 raise Exception("Unexpected HTTP response: %d" % resp.status)
3291 if resp.status != 400:
3292 raise Exception("Unexpected HTTP response: %d" % resp.status)
3297 if resp.status != 400:
3298 raise Exception("Unexpected HTTP response: %d" % resp.status)
3306 if resp.status != 200:
3307 raise Exception("Unexpected HTTP response: %d" % resp.status)
3333 if resp.status != 200 and resp.status != 412:
3334 raise Exception("Unexpected HTTP response for UNSUBSCRIBE: %d" % resp.status)
3342 if resp.status != 200:
3343 raise Exception("Unexpected HTTP response for SUBSCRIBE: %d" % resp.status)
3350 if resp.status != 200:
3351 raise Exception("Unexpected HTTP response for UNSUBSCRIBE: %d" % resp.status)
3358 if resp.status != 200:
3359 raise Exception("Unexpected HTTP response: %d" % resp.status)
3380 if resp.status != 200:
3381 raise Exception("Unexpected HTTP response: %d" % resp.status)
3397 if resp.status != 500:
3398 raise Exception("Unexpected HTTP response: %d" % resp.status)
3403 if resp.status != 500:
3404 raise Exception("Unexpected HTTP response: %d" % resp.status)
3411 if resp.status != 500:
3412 raise Exception("Unexpected HTTP response: %d" % resp.status)
3419 if resp.status != 500:
3420 raise Exception("Unexpected HTTP response: %d" % resp.status)
3428 if resp.status != 500:
3429 raise Exception("Unexpected HTTP response: %d" % resp.status)
3434 if resp.status != 500:
3435 raise Exception("Unexpected HTTP response: %d" % resp.status)
3440 if resp.status != 500:
3441 raise Exception("Unexpected HTTP response: %d" % resp.status)
3446 if resp.status != 500:
3447 raise Exception("Unexpected HTTP response: %d" % resp.status)
3455 if resp.status != 200:
3456 raise Exception("Unexpected HTTP response: %d" % resp.status)
3511 if resp.status != 200:
3512 raise Exception("Unexpected HTTP response: %d" % resp.status)
3565 if resp.status != 501:
3566 raise Exception("Unexpected response to HEAD: " + str(resp.status))
3604 if resp.status != 501:
3605 raise Exception("Unexpected response to HEAD: " + str(resp.status))
3611 if resp.status != 501:
3612 raise Exception("Unexpected response to HEAD: " + str(resp.status))
3626 if resp.status != 501:
3627 raise Exception("Unexpected response to HEAD: " + str(resp.status))
3640 if resp.status != 404:
3641 raise Exception("Unexpected HTTP response: %d" % resp.status)
3667 if resp.status != 404:
3668 raise Exception("Unexpected HTTP response: %d" % resp.status)
3679 if resp.status != 404:
3680 raise Exception("Unexpected HTTP response: %d" % resp.status)
3766 status = dev[0].get_status()
3767 if status['bssid'] != apdev[0]['bssid']:
3790 status = dev[0].get_status()
3791 if status['bssid'] != apdev[0]['bssid']:
4470 if resp.status != 200:
4471 raise Exception("Unexpected HTTP response: %d" % resp.status)
4523 if resp.status != 200:
4524 raise Exception("Unexpected HTTP response: %d" % resp.status)
4536 if resp.status != 404:
4537 raise Exception("Unexpected HTTP response: %d" % resp.status)
4554 if resp.status != 404:
4555 raise Exception("Unexpected HTTP response: %d" % resp.status)
4561 if resp.status != 501:
4562 raise Exception("Unexpected HTTP response: %d" % resp.status)
4817 if resp.status != 200:
4818 raise Exception("Unexpected HTTP response: %d" % resp.status)
4831 if resp.status != 200:
4832 raise Exception("Unexpected HTTP response: %d" % resp.status)
6219 if resp.status != 200:
6220 raise Exception("Unexpected HTTP response: %d" % resp.status)
6234 for status, test in tests:
6248 if resp.status != status:
6249 raise Exception("Unexpected HTTP response: %d (expected %d)" % (resp.status, status))
9569 if resp.status != 404:
9570 raise Exception("Unexpected HTTP result for unknown URL: %d" + resp.status)
9576 print(resp.status)
9583 if resp.status != 200:
9588 if resp.status != 200:
9594 if resp.status != 500:
9600 if resp.status != 500:
9612 if resp.status != 200:
9618 if resp.status != 600:
9619 raise Exception("Unexpected HTTP response: %d" % resp.status)
9625 if resp.status != 600:
9626 raise Exception("Unexpected HTTP response: %d" % resp.status)
9633 if resp.status != 600:
9634 raise Exception("Unexpected HTTP response: %d" % resp.status)
9642 if resp.status != 500:
9643 raise Exception("Unexpected HTTP response: %d" % resp.status)
9650 if resp.status != 200:
9651 raise Exception("Unexpected HTTP response: %d" % resp.status)
9671 if resp.status != 500:
9672 raise Exception("Unexpected HTTP response: %d" % resp.status)
10259 status = dev[0].get_status()
10260 if status['wpa_state'] != 'COMPLETED' or \
10261 status['bssid'] != apdev[0]['bssid']:
10411 status = dev[0].get_status()
10412 if status['key_mgmt'] != "SAE":
10414 if 'pmf' not in status or status['pmf'] != "1":
10423 status = dev[1].get_status()
10424 if status['key_mgmt'] != "WPA2-PSK":
10426 if 'pmf' in status:
10453 status = dev[0].get_status()
10454 if status['key_mgmt'] != "SAE":
10456 if 'pmf' not in status or status['pmf'] != "1":
10489 status = dev[0].get_status()
10490 if status['key_mgmt'] != "SAE":
10492 if 'pmf' not in status or status['pmf'] != "1":
10519 status = dev[0].get_status()
10520 if status['key_mgmt'] != "SAE":
10522 if 'pmf' not in status or status['pmf'] != "1":