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

  • Committer: Jelmer Vernooij
  • Date: 2011-04-20 16:40:53 UTC
  • mto: This revision was merged to the branch mainline in revision 5808.
  • Revision ID: jelmer@samba.org-20110420164053-gdxreqedtq2a3c3f
Avoid using deprecated set_revision_history.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
 
34
34
    def test_commit(self):
35
35
        f = atomicfile.AtomicFile('test')
36
 
        self.failIfExists('test')
 
36
        self.assertPathDoesNotExist('test')
37
37
        f.write('foo\n')
38
38
        f.commit()
39
39