def METHOD_NAME():
    # given
    img_data = BytesIO()
    image = Image.new("RGB", size=(1, 1))
    image.save(img_data, format="JPEG")
    field = "image"
    # when
    img = SimpleUploadedFile("product.jpg", img_data.getvalue(), "image/jpeg")
    # then
    clean_image_file({field: img}, field, ProductErrorCode)