MCPcopy Create free account
hub / github.com/python-visualization/folium / test_geojson_marker

Function test_geojson_marker

tests/test_features.py:169–174  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

167
168# GeoJsonMarker type validation.
169def test_geojson_marker():
170 m = folium.Map([30.4, -97.5], zoom_start=10)
171 with pytest.raises(TypeError):
172 folium.GeoJson(
173 os.path.join(rootpath, "subwaystations.geojson"), marker=ClickForMarker()
174 ).add_to(m)
175
176
177def test_geojson_find_identifier():

Callers

nothing calls this directly

Calls 2

ClickForMarkerClass · 0.90
add_toMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…