~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_btree_index.py

(vila) Calling super() instead of mentioning the base class in setUp avoid
 mistakes. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    # that they test.
60
60
 
61
61
    def setUp(self):
62
 
        TestCaseWithTransport.setUp(self)
 
62
        super(BTreeTestCase, self).setUp()
63
63
        self.overrideAttr(btree_index, '_RESERVED_HEADER_BYTES', 100)
64
64
 
65
65
    def make_nodes(self, count, key_elements, reference_lists):
1206
1206
    scenarios = btreeparser_scenarios()
1207
1207
 
1208
1208
    def setUp(self):
1209
 
        BTreeTestCase.setUp(self)
 
1209
        super(TestBTreeNodes, self).setUp()
1210
1210
        self.overrideAttr(btree_index, '_btree_serializer', self.parse_btree)
1211
1211
 
1212
1212
    def test_LeafNode_1_0(self):