/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/per_branch/test_locking.py

  • Committer: Robert Collins
  • Date: 2010-06-20 22:54:30 UTC
  • mfrom: (5308 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5309.
  • Revision ID: robertc@robertcollins.net-20100620225430-gzgig1g6ltba5sbk
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
533
533
    def test_lock_write_raises_in_lock_read(self):
534
534
        branch = self.make_branch('b')
535
535
        branch.lock_read()
 
536
        self.addCleanup(branch.unlock)
536
537
        err = self.assertRaises(errors.ReadOnlyError, branch.lock_write)
537
538
 
538
539
    def test_lock_and_unlock_leaves_repo_unlocked(self):