Function
test_image_from_bytes
(display: DisplayFixture)
Source from the content-addressed store, hash-verified
| 24 | |
| 25 | |
| 26 | async def test_image_from_bytes(display: DisplayFixture): |
| 27 | src = IMAGE_SRC_BYTES |
| 28 | await display.show(lambda: reactpy.widgets.image("svg", src, {"id": "a-circle-1"})) |
| 29 | client_img = await display.page.wait_for_selector("#a-circle-1") |
| 30 | assert BASE64_IMAGE_SRC in (await client_img.get_attribute("src")) |
| 31 | |
| 32 | |
| 33 | async def test_use_linked_inputs(display: DisplayFixture): |
Callers
nothing calls this directly
Tested by
no test coverage detected