From af7c0445756d465376a16f74eb908059d13485e4 Mon Sep 17 00:00:00 2001 From: k034b363 Date: Fri, 11 Oct 2024 13:19:21 -0500 Subject: [PATCH] add fake annotate output for testing --- tests/test_geospatial_points_to_geojson.py | 1 + 1 file changed, 1 insertion(+) 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)