()
| 83 | |
| 84 | |
| 85 | def 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 | |
| 97 | def test_popup_unicode(): |