Skip to content

Commit

Permalink
Update test_minimap.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Conengmo committed Oct 26, 2023
1 parent 7bccc20 commit 4b74951
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/plugins/test_minimap.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ def test_minimap():
# Verify that a new minimap is getting created.
assert "new L.Control.MiniMap" in out

m = folium.Map(location=(30, 20), zoom_start=4)
m = folium.Map(tiles=None, location=(30, 20), zoom_start=4)
minimap = plugins.MiniMap()
minimap.add_to(m)

out = normalize(m._parent.render())
# verify that Stamen Toner tiles are being used
# verify that tiles are being used
assert r"https://{s}.tile.openstreetmap.org" in out

0 comments on commit 4b74951

Please sign in to comment.