1
0
mirror of https://github.com/ilri/dspace-statistics-api.git synced 2024-11-22 06:15:02 +01:00
dspace-statistics-api/tests
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
..
__init__.py Add initial API tests 2018-11-11 16:24:54 +02:00
dspacestatistics.sql Test API using pytest and PostgreSQL on Travis 2018-11-11 16:25:16 +02:00
test_api.py tests/test_api.py: Use response.text instead of content 2018-11-11 17:01:17 +02:00