diff --git a/umap/tests/fixtures/test_upload_data.umap b/umap/tests/fixtures/test_upload_data.umap index 0392e2c2..0773415c 100644 --- a/umap/tests/fixtures/test_upload_data.umap +++ b/umap/tests/fixtures/test_upload_data.umap @@ -25,7 +25,7 @@ "limitBounds": {}, "tilelayer": { "maxZoom": 20, - "url_template": "https://tile.openstreetmap.fr/hot/{z}/{x}/{y}.png", + "url_template": "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png", "minZoom": 0, "attribution": "map data © [[https://osm.org/copyright|OpenStreetMap contributors]] under ODbL - Tiles © HOT", "name": "OSM Humanitarian (OSM-FR)" diff --git a/umap/tests/integration/test_import.py b/umap/tests/integration/test_import.py index 67460f0a..4ab86524 100644 --- a/umap/tests/integration/test_import.py +++ b/umap/tests/integration/test_import.py @@ -1,5 +1,4 @@ import json -import os import platform import re from pathlib import Path @@ -90,7 +89,7 @@ def test_umap_import_from_textarea(live_server, tilelayer, page, settings): expect(page.get_by_text("Cities")).to_be_visible() expect(page.locator(".leaflet-control-minimap")).to_be_visible() expect( - page.locator('img[src="https://tile.openstreetmap.fr/hot/6/32/21.png"]') + page.locator('img[src="https://tile.openstreetmap.fr/6/32/21.png"]') ).to_be_visible() # Should not have imported id, while in the file options assert not page.evaluate("U.MAP.properties.id")