Skip to content

Commit

Permalink
add fake annotate output for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
k034b363 committed Oct 11, 2024
1 parent 64fa604 commit af7c044
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_geospatial_points_to_geojson.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def test_geospatial_points_to_geojson_an(test_data, tmpdir):
cache_dir = tmpdir.mkdir("cache")
img = read_geotif(filename=test_data.rgb_tif, bands="R,G,B")
viewer = FakePoints()
viewer.coords["default"] = []
filename = os.path.join(cache_dir, 'test_out.geojson')
points_to_geojson(img, viewer, output=filename)
assert os.path.exists(filename)
Expand Down

0 comments on commit af7c044

Please sign in to comment.