def METHOD_NAME(recipe):
    with open(recipe.path, 'r') as fdes:
        data = fdes.read()
    os.remove(recipe.path)
    recipe.save()
    with open(recipe.path, 'r') as fdes:
        assert data == fdes.read()