'If files other than ``lost+found`` exist in the filesystem,
``lost+found`` is not deleted.'

def test_lost_found_not_deleted_if_other_files_exist(self):

    mountpoint = mountroot_for_test(self).child('mount-test')
    scenario = self._run_success_test(mountpoint)
    mountpoint.child('file').setContent('stuff')
    check_call(['mklost+found'], cwd=mountpoint.path)
    check_call(['umount', mountpoint.path])
    self.successResultOf(run_state_change(scenario.state_change(), scenario.deployer, InMemoryStatePersister()))
    self.assertItemsEqual(mountpoint.children(), [mountpoint.child('file'), mountpoint.child('lost+found')])
