diff --git a/tests/test_geospatial_points_to_geojson.py b/tests/test_geospatial_points_to_geojson.py index 99d5772..ce5036d 100644 --- a/tests/test_geospatial_points_to_geojson.py +++ b/tests/test_geospatial_points_to_geojson.py @@ -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)