MCPcopy Index your code
hub / github.com/python-visualization/folium / test_popup_unicode

Function test_popup_unicode

tests/test_map.py:97–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95
96
97def test_popup_unicode():
98 popup = Popup("Ça c'est chouette", parse_html=True)
99 _id = list(popup.html._children.keys())[0]
100 kw = {
101 "id": _id,
102 "width": "100.0%",
103 "height": "100.0%",
104 "text": "Ça c'est chouette",
105 }
106 assert "".join(popup.html.render().split()) == "".join(tmpl(**kw).split())
107
108
109def test_popup_sticky():

Callers

nothing calls this directly

Calls 3

PopupClass · 0.90
tmplFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected