TST: fix explore() tests for change in CartoDB max zoom level in latest xyzservices (#2192)

This commit is contained in:
Joris Van den Bossche
2021-10-21 14:17:24 +02:00
committed by GitHub
parent 04d377f321
commit 409d8f0a15
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ dependencies:
# dev versions of packages
- git+https://github.com/numpy/numpy.git@main
- git+https://github.com/pydata/pandas.git@master
- git+https://github.com/matplotlib/matplotlib.git@master
- git+https://github.com/matplotlib/matplotlib.git@main
- git+https://github.com/Toblerity/Shapely.git@master
- git+https://github.com/pygeos/pygeos.git@master
- git+https://github.com/python-visualization/folium.git@master
+2 -2
View File
@@ -608,7 +608,7 @@ class TestExplore:
'attribution":"\\u0026copy;\\u003cahref=\\"https://www.openstreetmap.org'
in out_str
)
assert '"maxNativeZoom":19,"maxZoom":19,"minZoom":0' in out_str
assert '"maxNativeZoom":20,"maxZoom":20,"minZoom":0' in out_str
def test_xyzservices_query_name(self):
pytest.importorskip("xyzservices")
@@ -624,7 +624,7 @@ class TestExplore:
'attribution":"\\u0026copy;\\u003cahref=\\"https://www.openstreetmap.org'
in out_str
)
assert '"maxNativeZoom":19,"maxZoom":19,"minZoom":0' in out_str
assert '"maxNativeZoom":20,"maxZoom":20,"minZoom":0' in out_str
def test_linearrings(self):
rings = self.nybb.explode(index_parts=True).exterior