~ubuntu-branches/ubuntu/hardy/bzr/hardy-proposed

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_knit.py

  • Committer: Bazaar Package Importer
  • Author(s): Adeodato Simó
  • Date: 2008-03-21 17:56:59 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20080321175659-2qzn8h5axi1oz2x2
Tags: 1.3-1
Final 1.3 release.

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)