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

Function test_popup_quotes

tests/test_map.py:85–94  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83
84
85def test_popup_quotes():
86 popup = Popup("Let's try quotes", parse_html=True)
87 _id = list(popup.html._children.keys())[0]
88 kw = {
89 "id": _id,
90 "width": "100.0%",
91 "height": "100.0%",
92 "text": "Let's try quotes",
93 }
94 assert "".join(popup.html.render().split()) == "".join(tmpl(**kw).split())
95
96
97def test_popup_unicode():

Callers

nothing calls this directly

Calls 3

PopupClass · 0.90
tmplFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected