mirror of
https://github.com/umap-project/umap.git
synced 2025-05-05 14:01:50 +02:00
chore: attempt to fix CI tests related to /hot/
This commit is contained in:
parent
b6229a05b7
commit
3f91f42d4c
2 changed files with 2 additions and 3 deletions
2
umap/tests/fixtures/test_upload_data.umap
vendored
2
umap/tests/fixtures/test_upload_data.umap
vendored
|
@ -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)"
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue