()
| 95 | |
| 96 | |
| 97 | def 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 | |
| 109 | def test_popup_sticky(): |