()
| 71 | |
| 72 | |
| 73 | def 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 | |
| 85 | def test_popup_quotes(): |