Skip to content

Commit

Permalink
chore: attempt to fix CI tests related to /hot/
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbgk committed Nov 23, 2024
1 parent b6229a0 commit 3f91f42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion umap/tests/fixtures/test_upload_data.umap
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down
3 changes: 1 addition & 2 deletions umap/tests/integration/test_import.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import json
import os
import platform
import re
from pathlib import Path
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 3f91f42

Please sign in to comment.