tests: Fix erp_home_realm_oom error on python3
Only python3 warns to this bug. TypeError: '>' not supported between instances of 'type' and 'int' Exception: '>' not supported between instances of 'type' and 'int' Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
b3361e5dc9
commit
edab6c9dac
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ def test_erp_home_realm_oom(dev, apdev):
|
||||||
ca_cert="auth_serv/ca.pem", phase2="auth=PAP",
|
ca_cert="auth_serv/ca.pem", phase2="auth=PAP",
|
||||||
erp="1", scan_freq="2412", wait_connect=False)
|
erp="1", scan_freq="2412", wait_connect=False)
|
||||||
dev[0].wait_connected(timeout=10)
|
dev[0].wait_connected(timeout=10)
|
||||||
if range > 1:
|
if count > 1:
|
||||||
continue
|
continue
|
||||||
with alloc_fail(dev[0], count, "eap_get_realm"):
|
with alloc_fail(dev[0], count, "eap_get_realm"):
|
||||||
dev[0].request("DISCONNECT")
|
dev[0].request("DISCONNECT")
|
||||||
|
|
Loading…
Reference in a new issue