Skip to content

Commit c8c4881

Browse files
committed
Expanded tests
1 parent 1b775f6 commit c8c4881

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/test_folium.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,18 +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,
172173
'line_color': 'black',
173174
'fill_color': 'black',
174175
'fill_opacity': 0.6})
175176
assert (''.join(circle_1.split())[:-1] in
176177
''.join(self.map.get_root().render().split()))
177178

178179
# Second circle marker.
179-
marker = folium.features.CircleMarker([45.70, -122.9], popup='Hi')
180+
marker = folium.features.CircleMarker([45.70, -122.9], popup='Hi', width=1)
180181
self.map.add_child(marker)
181182
circle_2 = circ_templ.render({'circle': marker.get_name(),
182183
'lat': 45.70,
183184
'lon': -122.9, 'radius': 500,
185+
'width': 1,
184186
'line_color': 'black',
185187
'fill_color': 'black',
186188
'fill_opacity': 0.6})

0 commit comments

Comments
 (0)