Skip to content

Commit

Permalink
test: add test to check parse and reparse for json
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Feb 14, 2024
1 parent 40f7fb2 commit c682738
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions tests/test_postgres.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#
"""Tests for data extract generation."""

import json
import logging
import os
import time
Expand Down Expand Up @@ -75,20 +74,6 @@ def test_fgb_data_extract():

def test_parse_reparse_json():
"""Test parsing and reparsing json config."""
geom = json.loads(json.dumps({"geometry": {
"type": "Polygon",
"coordinates": [
[
[-10.786407, 6.360272],
[-10.787035, 6.36407],
[-10.781848, 6.369421],
[-10.781318, 6.369917],
[-10.780706, 6.369366],
[-10.78607, 6.360738],
[-10.786407, 6.360272],
]
],
}}))
qc = QueryConfig()
parsed_config = qc.parseJson(f"{rootdir}/levels.json")
pg = PostgresClient(
Expand Down

0 comments on commit c682738

Please sign in to comment.