'Generate some finalized checkpoints.'

def _setup_three_checkpoints(self):

    self.reverter.add_to_checkpoint(self.sets[0], 'first    save')
    self.reverter.finalize_checkpoint('First    Checkpoint')
    update_file(self.config1, 'update    config1')
    config3 = os.path.join(self.dir1, 'config3.txt')
    self.reverter.register_file_creation(False, config3)
    update_file(config3, 'directive-config3')
    self.reverter.add_to_checkpoint(self.sets[1], 'second    save')
    self.reverter.finalize_checkpoint('Second    Checkpoint')
    update_file(self.config2, 'update    config2')
    update_file(config3, 'update    config3')
    self.reverter.add_to_checkpoint(self.sets[2], 'third    save')
    self.reverter.finalize_checkpoint('Third    Checkpoint    -    Save    both')
    update_file(self.config1, 'Final    form    config1')
    update_file(self.config2, 'Final    form    config2')
    update_file(config3, 'Final    form    config3')
    return config3
