~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_shared_repository.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:
88
88
        cdir = BzrDir.open('a/c')
89
89
        cdir.open_branch()
90
90
        self.assertRaises(errors.NoRepositoryPresent, cdir.open_repository)
91
 
        self.failUnlessExists('a/c/hello')
 
91
        self.assertPathExists('a/c/hello')
92
92
        cdir.open_workingtree()
93
93
 
94
94
    def test_trees_default(self):