diff --git a/src/tests/test_api.py b/src/tests/test_api.py index b69d227c09..4ae7d631d9 100644 --- a/src/tests/test_api.py +++ b/src/tests/test_api.py @@ -842,7 +842,9 @@ def test_institution_default(self, client: flask.Flask): def test_institution_ids(self, client: flask.Flask): _ = global_data.get_mappings(strict=True) - institution_ids_list = client.get("/institution_ids").json + response = client.get("/institution_ids") + print(response) + institution_ids_list = response.json assert len(institution_ids_list) > 20, "Unexpectedly few institutions: %d" % len(institution_ids_list) names_list = [i["name"] for i in institution_ids_list]