~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_atomicfile.py

  • Committer: Jelmer Vernooij
  • Date: 2011-05-10 07:46:15 UTC
  • mfrom: (5844 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5845.
  • Revision ID: jelmer@samba.org-20110510074615-eptod049ndjxc4i7
Merge bzr.dev.

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