~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_versionedfile.py

  • Committer: John Arbash Meinel
  • Date: 2008-12-11 00:56:16 UTC
  • mto: This revision was merged to the branch mainline in revision 3895.
  • Revision ID: john@arbash-meinel.com-20081211005616-szoqqeabcyahy39u
Change the signature to report the storage kind as 'chunked'

Show diffs side-by-side

added added

removed removed

Lines of Context:
2213
2213
        self._lines["A"] = ["FOO", "BAR"]
2214
2214
        it = self.texts.get_record_stream([("A",)], "unordered", True)
2215
2215
        record = it.next()
2216
 
        self.assertEquals("fulltext", record.storage_kind)
 
2216
        self.assertEquals("chunked", record.storage_kind)
2217
2217
        self.assertEquals("FOOBAR", record.get_bytes_as("fulltext"))
 
2218
        self.assertEquals(["FOO", "BAR"], record.get_bytes_as("chunked"))
2218
2219
 
2219
2220
    def test_get_record_stream_absent(self):
2220
2221
        it = self.texts.get_record_stream([("A",)], "unordered", True)