def test_render(pil_image: Img):
    """Test that rendering an image works.

    Args:
        pil_image: The image to serialize.
    """
    image = Image.create(src=pil_image)
    assert isinstance(image.src, StringVar)  # pyright: ignore [reportAttributeAccessIssue]
Test that rendering an image works.

    Args:
        pil_image: The image to serialize.
    
tests/units/components/media/test_image.py