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 1550786 commit 06dc391
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/geom_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def test_remove_features(self):
"""

# Download city limits
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")

# Example test values
bounds = polygon_gdf.geometry.centroid.buffer(0.1).total_bounds
Expand All @@ -96,7 +96,7 @@ def test_gen_hexagons(self):
"""

# Download city limits
polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 0)
polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 1, email="claudio.rtega2701@gmail.com")

# Generate hexs
hex_gdf = up.geom.gen_hexagons(resolution=6, city=polygon_gdf)
Expand All @@ -115,7 +115,7 @@ def test_merge_shape_hex(self):
"""

# Download city limits
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")

# Example test values
datasets_df = up.download.search_hdx_dataset("bolivia")
Expand Down Expand Up @@ -156,7 +156,7 @@ def test_resolution_downsampling(self):
"""
# Download city limits
polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 0)
polygon_gdf = up.download.nominatim_osm("La Paz, Bolivia", 1, email="claudio.rtega2701@gmail.com")

# Example test values
datasets_df = up.download.search_hdx_dataset("bolivia")
Expand Down

0 comments on commit 06dc391

Please sign in to comment.