/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/test_serializer.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-12 08:07:37 UTC
  • mto: (4350.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4354.
  • Revision ID: v.ladeuil+lp@free.fr-20090512080737-itf02crgp0kxir0p
Fixed as per Robert's review.

* tests/__init__.py:
(TestCase._track_locks): Make unbalanced locks fatal.

* tests/test_selftest.py:
(TestTestCaseWithMemoryTransport.test_dangling_locks_cause_failures):
The failure is now unconditional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
 
21
21
from bzrlib import (
22
 
    chk_serializer,
23
22
    serializer,
24
23
    xml4,
25
24
    xml5,
44
43
                      serializer.format_registry.get('7'))
45
44
        self.assertIs(xml8.serializer_v8,
46
45
                      serializer.format_registry.get('8'))
47
 
        self.assertIs(chk_serializer.chk_serializer_255_bigpage,
48
 
                      serializer.format_registry.get('9'))