'generate_thumbnail does not fail if file doesn\'t actually exist.'

def test_generate_deleted_file(self):

    image = ImageAttachment(content_object=self.obj, creator=self.user)
    with open('kitsune/upload/tests/media/test.jpg') as f:
        up_file = File(f)
        image.file.save(up_file.name, up_file, save=True)
    os.remove(image.file.path)
    generate_thumbnail(image, 'file', 'thumbnail')
