From 634fbd1fe60ec113a7a097c0243762dca6a0e4ee Mon Sep 17 00:00:00 2001 From: Claudio Ortega Date: Wed, 17 Jul 2024 22:51:58 +0200 Subject: [PATCH] Update geom_test.py --- tests/geom_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/geom_test.py b/tests/geom_test.py index 2a4f5c4..4930a94 100644 --- a/tests/geom_test.py +++ b/tests/geom_test.py @@ -19,8 +19,8 @@ def test_merge_geom_download(self): """ # Example test values - gdf1 = up.download.nominatim_osm(query="Jesús María, Lima, Peru") - gdf2 = up.download.nominatim_osm(query="Lince, Lima, Peru") + gdf1 = up.download.nominatim_osm(query="Jesús María, Lima, Peru", email="claudio.rtega2701@gmail.com") + gdf2 = up.download.nominatim_osm(query="Lince, Lima, Peru", email="claudio.rtega2701@gmail.com") # Merged merged_geom = up.geom.merge_geom_downloads([gdf1, gdf2]) @@ -44,7 +44,7 @@ def test_filter_population(self): # Example test values datasets_df = up.download.search_hdx_dataset("bolivia") pop_df = up.download.get_hdx_dataset(datasets_df, 0) - polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 1) + polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 1, email="claudio.rtega2701@gmail.com") # Filter pop filtered_points_gdf = up.geom.filter_population(pop_df, polygon_gdf)