1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2025-02-03 17:02:53 +01:00
Alan Orth 556c5ae088
tests/test_api.py: Use response.text instead of content
Falcon's response content is raw bytes, while its text is a string.
Let's use the latter so we can use json.loads() in Python 3.5, 3.6,
and 3.7 with the same code.

See: https://falcon.readthedocs.io/en/stable/api/testing.html
2018-11-11 17:01:17 +02:00
..
2018-11-11 16:24:54 +02:00