899
899
for offset in range(first_byte, size, page_size):
900
900
readv_request.append((offset, page_size))
901
901
# The last page is truncated
903
903
expected = [('readv', 'index', [(0, page_size)], False, None),
904
904
('readv', 'index', readv_request, False, None)]
905
905
if expected != t._activity:
906
906
self.assertEqualDiff(pprint.pformat(expected),
909
909
def _test_iter_entries_references_resolved(self):
910
910
index = self.make_index(1, nodes=[