def METHOD_NAME(cls):
    cls.image = Image.objects.create(
        title="Test image",
        file=get_test_image_file(filename="test_image.png", colour="white"),
    )
    cls.rendition = Rendition.objects.create(
        image=cls.image,
        filter_spec="original",
        width=1000,
        height=1000,
        file=get_test_image_file(
            filename="test_rendition.png", colour="white", size=(1000, 1000)
        ),
    )