File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments