tests: Decode upnp_soap_action() response for python3
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
This commit is contained in:
parent
69f58282bc
commit
732b76139a
1 changed files with 1 additions and 1 deletions
|
@ -2885,7 +2885,7 @@ def test_ap_wps_upnp(dev, apdev):
|
|||
resp = upnp_soap_action(conn, ctrlurl.path, "GetDeviceInfo")
|
||||
if resp.status != 200:
|
||||
raise Exception("Unexpected HTTP response: %d" % resp.status)
|
||||
dev = resp.read()
|
||||
dev = resp.read().decode()
|
||||
if "NewDeviceInfo" not in dev:
|
||||
raise Exception("Unexpected GetDeviceInfo response")
|
||||
|
||||
|
|
Loading…
Reference in a new issue