Use real tile URL in tests
It's easier to debug integration tests screenshots (otherwise background is only grey).
This commit is contained in:
parent
445ce7b6ba
commit
b9f6645162
3 changed files with 3 additions and 3 deletions
|
@ -81,7 +81,7 @@ class MapFactory(factory.django.DjangoModelFactory):
|
||||||
"attribution": "\xa9 OSM Contributors",
|
"attribution": "\xa9 OSM Contributors",
|
||||||
"maxZoom": 18,
|
"maxZoom": 18,
|
||||||
"minZoom": 0,
|
"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,
|
"tilelayersControl": True,
|
||||||
"zoom": 7,
|
"zoom": 7,
|
||||||
|
|
|
@ -61,7 +61,7 @@ def test_umap_export(map, live_server, datalayer, page):
|
||||||
"attribution": "© OSM Contributors",
|
"attribution": "© OSM Contributors",
|
||||||
"maxZoom": 18,
|
"maxZoom": 18,
|
||||||
"minZoom": 0,
|
"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,
|
"tilelayersControl": True,
|
||||||
"zoom": 7,
|
"zoom": 7,
|
||||||
|
|
|
@ -624,7 +624,7 @@ def test_download(client, map, datalayer):
|
||||||
"attribution": "© OSM Contributors",
|
"attribution": "© OSM Contributors",
|
||||||
"maxZoom": 18,
|
"maxZoom": 18,
|
||||||
"minZoom": 0,
|
"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,
|
"tilelayersControl": True,
|
||||||
"zoom": 7,
|
"zoom": 7,
|
||||||
|
|
Loading…
Reference in a new issue