Skip to content

Commit 70a7d11

Browse files
committed
Removed legacy test
1 parent 8882179 commit 70a7d11

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

tests/test_folium.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -139,33 +139,6 @@ def test_custom_tile(self):
139139
bounds = map.get_bounds()
140140
assert bounds == [[None, None], [None, None]], bounds
141141

142-
def test_wms_layer(self):
143-
"""Test WMS layer URLs."""
144-
145-
map = folium.Map(location=[44, -73], zoom_start=3)
146-
wms_url = 'http://gis.srh.noaa.gov/arcgis/services/NDFDTemps/'
147-
wms_url += 'MapServer/WMSServer'
148-
wms_name = "Temperature"
149-
wms_layers = 16
150-
wms_format = "image/png"
151-
map.add_wms_layer(wms_name=wms_name,
152-
wms_url=wms_url,
153-
wms_format=wms_format,
154-
wms_layers=wms_layers,
155-
wms_transparent=True)
156-
157-
wms_temp = self.env.get_template('wms_layer.js')
158-
wms = wms_temp.render({'wms_name': map._children[wms_name].get_name(),
159-
'wms_url': wms_url,
160-
'wms_format': wms_format,
161-
'wms_layer_names': wms_layers,
162-
'wms_transparent': 'true'})
163-
assert (''.join(wms.split())[:-1] in
164-
''.join(map.get_root().render().split()))
165-
166-
bounds = map.get_bounds()
167-
assert bounds == [[None, None], [None, None]], bounds
168-
169142
def test_feature_group(self):
170143
"""Test FeatureGroup."""
171144

0 commit comments

Comments
 (0)