def METHOD_NAME(self):
    #Test creation of local directory
    #TestPreservation.preserve.create_local_directories()
    job = preservation.PreservationBackgroundTask.prepare("rama", upload_file=self.zip_file)
    params = job.params
    local_dir = params["preserve__local_dir"]
    dir_name = os.path.basename(local_dir)
    assert os.path.isdir(os.path.join(self.upload_dir, dir_name))
    assert os.path.isdir(os.path.join(self.upload_dir, dir_name,dir_name))
    #Test deletion of local directory
    preservation.Preservation.delete_local_directory(local_dir)
    assert not os.path.exists(os.path.join(self.upload_dir, dir_name))