~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_init.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:
154
154
        self.run_bzr_error(['Parent directory of ../new/tree does not exist'],
155
155
                            'init ../new/tree', working_dir='tree')
156
156
        self.run_bzr('init ../new/tree --create-prefix', working_dir='tree')
157
 
        self.failUnlessExists('new/tree/.bzr')
 
157
        self.assertPathExists('new/tree/.bzr')
158
158
 
159
159
    def test_init_default_format_option(self):
160
160
        """bzr init should read default format from option default_format"""