Skip to content

Commit b46e2b9

Browse files
committed
Corrected namespace
1 parent c8c4881 commit b46e2b9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_folium.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -169,20 +169,20 @@ def test_circle_marker(self):
169169
circle_1 = circ_templ.render({'circle': marker.get_name(),
170170
'lat': 45.60,
171171
'lon': -122.8, 'radius': 500,
172-
'width': 2,
172+
'weight': 2,
173173
'line_color': 'black',
174174
'fill_color': 'black',
175175
'fill_opacity': 0.6})
176176
assert (''.join(circle_1.split())[:-1] in
177177
''.join(self.map.get_root().render().split()))
178178

179179
# Second circle marker.
180-
marker = folium.features.CircleMarker([45.70, -122.9], popup='Hi', width=1)
180+
marker = folium.features.CircleMarker([45.70, -122.9], popup='Hi', weight=1)
181181
self.map.add_child(marker)
182182
circle_2 = circ_templ.render({'circle': marker.get_name(),
183183
'lat': 45.70,
184184
'lon': -122.9, 'radius': 500,
185-
'width': 1,
185+
'weight': 1,
186186
'line_color': 'black',
187187
'fill_color': 'black',
188188
'fill_opacity': 0.6})

0 commit comments

Comments
 (0)