~bzr/ubuntu/hardy/bzr/beta-ppa

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_clean_tree.py

  • Committer: Max Bowsher
  • Date: 2011-04-30 17:14:51 UTC
  • mfrom: (3876.1.10 jaunty)
  • Revision ID: maxb@f2s.com-20110430171451-74ydto59tdotsxa6
MergeĀ 2.4.0~beta2-2

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        BzrDir.create_standalone_workingtree('branch')
47
47
        os.symlink(os.path.realpath('no-die-please'), 'branch/die-please')
48
48
        os.mkdir('no-die-please')
49
 
        self.failUnlessExists('branch/die-please')
 
49
        self.assertPathExists('branch/die-please')
50
50
        os.mkdir('no-die-please/child')
51
51
 
52
52
        clean_tree('branch', unknown=True, no_prompt=True)
53
 
        self.failUnlessExists('no-die-please')
54
 
        self.failUnlessExists('no-die-please/child')
 
53
        self.assertPathExists('no-die-please')
 
54
        self.assertPathExists('no-die-please/child')
55
55
 
56
56
    def test_iter_deletable(self):
57
57
        """Files are selected for deletion appropriately"""