~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_export.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:
334
334
        os.chdir('branch')
335
335
 
336
336
        self.run_bzr('export ../first.zip -r 1')
337
 
        self.failUnlessExists('../first.zip')
 
337
        self.assertPathExists('../first.zip')
338
338
        zf = zipfile.ZipFile('../first.zip')
339
339
        try:
340
340
            self.assertEqual(['first/hello'], sorted(zf.namelist()))