~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_repository/test_write_group.py

  • Committer: John Arbash Meinel
  • Date: 2009-10-20 19:46:46 UTC
  • mfrom: (4759 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4771.
  • Revision ID: john@arbash-meinel.com-20091020194646-wnqpd15qs19y28z7
Merge bzr.dev 4759, bringing in static_tuple and streaming improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
        # don't need a specific exception for now - this is
85
85
        # really to be sure it's used right, not for signalling
86
86
        # semantic information.
87
 
        self.assertRaises(errors.BzrError, repo.unlock)
 
87
        self.assertLogsError(errors.BzrError, repo.unlock)
88
88
        # after this error occurs, the repository is unlocked, and the write
89
89
        # group is gone.  you've had your chance, and you blew it. ;-)
90
90
        self.assertFalse(repo.is_locked())