~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_knit.py

  • Committer: Andrew Bennetts
  • Date: 2008-03-17 17:16:11 UTC
  • mfrom: (3290 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3756.
  • Revision ID: andrew.bennetts@canonical.com-20080317171611-o9wdrnf0m7qwo198
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2903
2903
        """Constructing a StreamIndex generates index data."""
2904
2904
        data_list = [('text-a', ['fulltext'], 127, []),
2905
2905
            ('text-b', ['option'], 128, ['text-c'])]
2906
 
        index = _StreamIndex(data_list)
 
2906
        index = _StreamIndex(data_list, None)
2907
2907
        self.assertEqual({'text-a':(['fulltext'], (0, 127), []),
2908
2908
            'text-b':(['option'], (127, 127 + 128), ['text-c'])},
2909
2909
            index._by_version)