~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4327.1.4.

Fix lock test failures by taking lock breaking into account.

* tests/test_lockdir.py:
(TestLockDir.test_43_break): Release the lock after breaking and
acquiring it.

* tests/__init__.py:
(TestCase._check_locks): Consider lock breaks as releases.
(TestCase._track_locks, TestCase._lock_broken): Also track broken locks.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: