diff --git a/umap/tests/base.py b/umap/tests/base.py index 3109f568..687793e6 100644 --- a/umap/tests/base.py +++ b/umap/tests/base.py @@ -81,7 +81,7 @@ class MapFactory(factory.django.DjangoModelFactory): "attribution": "\xa9 OSM Contributors", "maxZoom": 18, "minZoom": 0, - "url_template": "http://{s}.osm.fr/{z}/{x}/{y}.png", + "url_template": "https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png", }, "tilelayersControl": True, "zoom": 7, diff --git a/umap/tests/integration/test_export_map.py b/umap/tests/integration/test_export_map.py index ef15dc70..28b215a1 100644 --- a/umap/tests/integration/test_export_map.py +++ b/umap/tests/integration/test_export_map.py @@ -61,7 +61,7 @@ def test_umap_export(map, live_server, datalayer, page): "attribution": "© OSM Contributors", "maxZoom": 18, "minZoom": 0, - "url_template": "http://{s}.osm.fr/{z}/{x}/{y}.png", + "url_template": "https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png", }, "tilelayersControl": True, "zoom": 7, diff --git a/umap/tests/test_map_views.py b/umap/tests/test_map_views.py index f56b316e..6ef798e2 100644 --- a/umap/tests/test_map_views.py +++ b/umap/tests/test_map_views.py @@ -624,7 +624,7 @@ def test_download(client, map, datalayer): "attribution": "© OSM Contributors", "maxZoom": 18, "minZoom": 0, - "url_template": "http://{s}.osm.fr/{z}/{x}/{y}.png", + "url_template": "https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png", }, "tilelayersControl": True, "zoom": 7,