1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-08-24 02:22:20 +00:00

Closer to py3

This commit is contained in:
J. Fernando Sánchez
2015-12-17 19:47:11 +01:00
parent ecc2a8312a
commit a79df7a3da
5 changed files with 36 additions and 171 deletions

View File

@@ -59,7 +59,7 @@ class ModelsTest(TestCase):
assert("entries" in js)
assert("analysis" in js)
resp = r6.flask()
received = json.loads(resp.data)
received = json.loads(resp.data.decode())
logging.debug("Response: %s", js)
assert(received["entries"])
assert(received["entries"][0]["text"] == "Just testing")