tests: Explicit str/bytes conversion for key_lifetime_in_memory
This is needed for python3. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
a42ec6611c
commit
b3361e5dc9
4 changed files with 6 additions and 3 deletions
|
@ -5083,6 +5083,7 @@ def test_wpa2_eap_ttls_pap_key_lifetime_in_memory(dev, apdev, params):
|
|||
# eloop before reading process memory.
|
||||
time.sleep(1)
|
||||
dev[0].ping()
|
||||
password = password.encode()
|
||||
buf = read_process_memory(pid, password)
|
||||
|
||||
dev[0].request("DISCONNECT")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue