~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_create_checkout.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-04-16 01:09:56 UTC
  • mfrom: (5784.1.4 760435-less-fail)
  • Revision ID: pqm@pqm.ubuntu.com-20110416010956-5wrpm136qq2hz5f3
(mbp) rename and deprecate failUnlessExists and failIfExists (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
 
47
47
        tree2 = tree1.branch.create_checkout('checkout', revision_id='rev-1')
48
48
        self.assertEqual('rev-1', tree2.last_revision())
49
 
        self.failUnlessExists('checkout/a')
50
 
        self.failIfExists('checkout/b')
 
49
        self.assertPathExists('checkout/a')
 
50
        self.assertPathDoesNotExist('checkout/b')
51
51
 
52
52
    def test_create_lightweight_checkout(self):
53
53
        """We should be able to make a lightweight checkout."""