Skip to content

Commit

Permalink
fix: debug logging for JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Sep 4, 2024
1 parent b8a88b2 commit 989ccef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraso_backend/tests/graphql/test_shared_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
# along with this program. If not, see https://www.gnu.org/licenses/.

import json
import logging
import os
import tempfile
import zipfile
Expand Down Expand Up @@ -463,6 +464,8 @@ def test_data_entry_kml_to_geojson(

assert data_entry_result["id"] == str(data_entry_kml.id)
assert data_entry_result["name"] == data_entry_kml.name
logging.info(expected_json["features"])
logging.info(json.loads(data_entry_result["geojson"])["features"])
assert json.loads(data_entry_result["geojson"])["features"] == expected_json["features"]


Expand Down

0 comments on commit 989ccef

Please sign in to comment.