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

Function test_divicon

tests/test_features.py:97–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96# DivIcon.
97def test_divicon():
98 html = """<svg height="100" width="100">
99 <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
100 </svg>""" # noqa
101 div = folium.DivIcon(html=html)
102 assert isinstance(div, Element)
103 assert div.options["class_name"] == "empty"
104 assert div.options["html"] == html
105
106
107# ColorLine.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…