Skip to content

Commit

Permalink
Update geom_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudio9701 authored Jul 17, 2024
1 parent f3f7606 commit 634fbd1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/geom_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand All @@ -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)
Expand Down

0 comments on commit 634fbd1

Please sign in to comment.