~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_locking.py

  • Committer: Alexander Belchenko
  • Date: 2010-06-17 08:53:15 UTC
  • mfrom: (5300 +trunk)
  • mto: (5303.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5305.
  • Revision ID: bialix@ukr.net-20100617085315-hr8186zck57zn35s
merge bzr.dev; fix NEWS

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):