def METHOD_NAME(self):
    self.product_image = ProductImageFactory()
    self.context = template.Context({"image": self.product_image})
    self.template = template.Template(
        "{% load image_tags %}"
        '{% oscar_thumbnail image.original "x155" upscale=False %}'
    )
    self.template_as_context_value = template.Template(
        "{% load image_tags %}"
        '{% oscar_thumbnail image.original "x155" upscale=False as thumb %}'
        "{{ thumb.url }}"
    )