Skip to content

Commit

Permalink
Fixed geocode test
Browse files Browse the repository at this point in the history
  • Loading branch information
mtravis committed Nov 4, 2023
1 parent 290558a commit 9ffae1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_open_buildings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def test_quadkey_to_geojson():

def test_geocode():
""" Tests geocode() using a pre-established true value. """
assert geocode('plymouth') == {"type": "Polygon", "coordinates": [[[-4.0196056, 50.3327426], [-4.0196056, 50.4441737], [-4.2055324, 50.4441737], [-4.2055324, 50.3327426], [-4.0196056, 50.3327426]]]}

assert json.loads(geocode('plymouth')) == {"type": "Polygon", "coordinates": [[[-4.0196056, 50.3327426], [-4.0196056, 50.4441737], [-4.2055324, 50.4441737], [-4.2055324, 50.3327426], [-4.0196056, 50.3327426]]]}

@pytest.mark.integration
@pytest.mark.flaky(reruns=NUM_RERUNS)
Expand Down

0 comments on commit 9ffae1e

Please sign in to comment.