def METHOD_NAME(self, testfile="test.png"):
    image = ImageAttachment(content_object=self.obj, creator=self.user)
    with open("kitsune/upload/tests/media/" + testfile, "rb") as f:
        up_file = File(f)
        image.file.save(up_file.name, up_file, save=True)
    return image