244
255
gcb = groupcompress.GroupCompressBlock()
245
256
gcb.add_entry(('foo', 'bar'), 'fulltext', 'abcd'*10, 0, 100)
246
257
gcb.add_entry(('bing',), 'fulltext', 'abcd'*10, 100, 100)
254
268
raw_bytes = zlib.decompress(remaining_bytes)
255
269
self.assertEqualDiff('key:bing\n'
256
270
'sha1:abcdabcdabcdabcdabcdabcdabcdabcdabcdabcd\n'