From bbebdaba1464723be172c26271cb236a3e973ec5 Mon Sep 17 00:00:00 2001 From: Paul Schreiber Date: Wed, 4 Sep 2024 13:50:36 -0400 Subject: [PATCH] fix: debug logging --- terraso_backend/tests/graphql/test_shared_data.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraso_backend/tests/graphql/test_shared_data.py b/terraso_backend/tests/graphql/test_shared_data.py index c9b7523fd..c5d0db7b6 100644 --- a/terraso_backend/tests/graphql/test_shared_data.py +++ b/terraso_backend/tests/graphql/test_shared_data.py @@ -469,6 +469,10 @@ def test_data_entry_kml_to_geojson( logger.info("-----expected----------------------") logger.info(expected_json["features"]) logger.info("-----actual----------------------") + logger.info(json_response) + logger.info(data_entry_result) + logger.info(json.loads(data_entry_result)) + logger.info(json.loads(data_entry_result["geojson"])) logger.info(json.loads(data_entry_result["geojson"])["features"]) logger.info("-----done----------------------") assert json.loads(data_entry_result["geojson"])["features"] == expected_json["features"]