()
| 262 | |
| 263 | |
| 264 | def test_custom_pane_show(): |
| 265 | m = Map() |
| 266 | pane = CustomPane("test-name", z_index=625, pointer_events=False).add_to(m) |
| 267 | rendered = pane._template.module.script(this=pane, kwargs={}) |
| 268 | expected = f""" |
| 269 | var {pane.get_name()} = {m.get_name()}.createPane("test-name"); |
| 270 | {pane.get_name()}.style.zIndex = 625; |
| 271 | {pane.get_name()}.style.pointerEvents = 'none'; |
| 272 | """ |
| 273 | assert normalize(rendered) == normalize(expected) |
| 274 | |
| 275 | |
| 276 | def test_marker_valid_location(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…