def METHOD_NAME(self, call):
    """compress_image does not fail when no compression software."""
    image = self._uploaded_image()
    compress_image("upload.ImageAttachment", image.id, "file")
    assert not call.called