/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2011-04-15 07:01:22 UTC
  • mto: This revision was merged to the branch mainline in revision 5789.
  • Revision ID: mbp@sourcefrog.net-20110415070122-7x24skeadcm7wvut
Switch away from using failUnlessExists and failIfExists

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."""