Skip to content

Commit 2fe2ebf

Browse files
committed
Added the extra keyword to folium_tests.py.
1 parent 95325c4 commit 2fe2ebf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/folium_tests.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,8 @@ def test_simple_marker(self):
151151
'lon': -122.7,
152152
'icon': "{'icon':marker_1_icon}"})
153153
popup_1 = popup_templ.render({'pop_name': 'marker_1',
154-
'pop_txt': json.dumps('Pop Text')})
154+
'pop_txt': json.dumps('Pop Text'),
155+
'width': 300})
155156
assert self.map.template_vars['custom_markers'][0][1] == mark_1
156157
assert self.map.template_vars['custom_markers'][0][2] == popup_1
157158

@@ -161,7 +162,8 @@ def test_simple_marker(self):
161162
'lon': -122.8,
162163
'icon': "{'icon':marker_2_icon}"})
163164
popup_2 = popup_templ.render({'pop_name': 'marker_2',
164-
'pop_txt': json.dumps('Hi')})
165+
'pop_txt': json.dumps('Hi'),
166+
'width': 300})
165167
assert self.map.mark_cnt['simple'] == 2
166168
assert self.map.template_vars['custom_markers'][1][1] == mark_2
167169
assert self.map.template_vars['custom_markers'][1][2] == popup_2

0 commit comments

Comments
 (0)