~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_knit.py

  • Committer: John Arbash Meinel
  • Date: 2008-03-15 13:51:09 UTC
  • mfrom: (3280 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3281.
  • Revision ID: john@arbash-meinel.com-20080315135109-7v9gimdidd1s7llr
[merge] bzr.dev 3280

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)