Skip to content

image

Set of utilities for formatting values.

random

Generate a random .png file and return the file object.

Example

import capyc.pytest as capy


def test_something(image: capy.Image):
    f = image.random(qs)
    content = f.read()
    ...