/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/test_multiparent.py

  • Committer: Jelmer Vernooij
  • Date: 2011-04-16 08:42:21 UTC
  • mfrom: (5777.6.11 commit-lossy)
  • mto: This revision was merged to the branch mainline in revision 5792.
  • Revision ID: jelmer@samba.org-20110416084221-g9kgp1j4o9zo0kk4
merge commit-lossy

Show diffs side-by-side

added added

removed removed

Lines of Context:
265
265
    def test_filenames(self):
266
266
        vf = multiparent.MultiVersionedFile('foop')
267
267
        vf.add_version('a\nb\nc\nd'.splitlines(True), 'a', [])
268
 
        self.failUnlessExists('foop.mpknit')
269
 
        self.failIfExists('foop.mpidx')
 
268
        self.assertPathExists('foop.mpknit')
 
269
        self.assertPathDoesNotExist('foop.mpidx')
270
270
        vf.save()
271
 
        self.failUnlessExists('foop.mpidx')
 
271
        self.assertPathExists('foop.mpidx')
272
272
        vf.destroy()
273
 
        self.failIfExists('foop.mpknit')
274
 
        self.failIfExists('foop.mpidx')
 
273
        self.assertPathDoesNotExist('foop.mpknit')
 
274
        self.assertPathDoesNotExist('foop.mpidx')