~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_index.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-11-30 22:04:45 UTC
  • mfrom: (4789.28.4 2.1.0b4-builder-no-keys)
  • Revision ID: pqm@pqm.ubuntu.com-20091130220445-vbfmmgocbgcs195q
(jam) Update BTreeBuilder to remove ._keys and use StaticTuple

Show diffs side-by-side

added added

removed removed

Lines of Context:
235
235
        builder.add_node(('2-key', ), '', (references, ))
236
236
        stream = builder.finish()
237
237
        contents = stream.read()
238
 
        self.assertEqual(
 
238
        self.assertEqualDiff(
239
239
            "Bazaar Graph Index 1\nnode_ref_lists=1\nkey_elements=1\nlen=1\n"
240
240
            "0\x00a\x00\x00\n"
241
241
            "1\x00a\x00\x00\n"