MCPcopy
hub / github.com/python-visualization/folium / test_popup_ascii

Function test_popup_ascii

tests/test_map.py:73–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72
73def test_popup_ascii():
74 popup = Popup("Some text.")
75 _id = list(popup.html._children.keys())[0]
76 kw = {
77 "id": _id,
78 "width": "100.0%",
79 "height": "100.0%",
80 "text": "Some text.",
81 }
82 assert "".join(popup.html.render().split()) == "".join(tmpl(**kw).split())
83
84
85def test_popup_quotes():

Callers

nothing calls this directly

Calls 3

PopupClass · 0.90
tmplFunction · 0.85
renderMethod · 0.45

Tested by

no test coverage detected