def METHOD_NAME(self):
    self.assertHTMLEqual(
        self.render(
            '{{ image(myimage, "width-200") }}', {"myimage": self.bad_image}
        ),
        '<img alt="missing image" src="/media/not-found" width="0" height="0">',
    )