From ba06f7fd8d1b99bda3a340e3849a4aed52268fa3 Mon Sep 17 00:00:00 2001 From: Jeff Osundwa Date: Wed, 18 Sep 2024 02:23:58 +0300 Subject: [PATCH] minor fix "test data file path" --- test/test_buffer_geom.py | 4 +++- test/test_index_score.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test_buffer_geom.py b/test/test_buffer_geom.py index 48ba0100..c5932301 100644 --- a/test/test_buffer_geom.py +++ b/test/test_buffer_geom.py @@ -13,7 +13,9 @@ def test_create_point_buffer(self): """ # Prepare test data working_dir = os.path.dirname(__file__) - input_layer_path = os.path.join(working_dir, "test_data", "points", "points.shp") + input_layer_path = os.path.join( + working_dir, "test_data", "points", "points.shp" + ) output_path = os.path.join(working_dir, "output", "buffered_layer.shp") # Ensure output directory exists diff --git a/test/test_index_score.py b/test/test_index_score.py index 8a02e59c..e30e7e74 100644 --- a/test/test_index_score.py +++ b/test/test_index_score.py @@ -18,7 +18,7 @@ def test_generate_raster(self): """ # Prepare test data working_dir = os.path.dirname(__file__) - boundary_path = os.path.join(working_dir, "data", "admin", "Admin0.shp") + boundary_path = os.path.join(working_dir, "test_data", "admin", "Admin0.shp") output_path = os.path.join(working_dir, "output", "test_raster.tif") # Ensure output directory exists