759
759
# This is intentionally reading off the end of the file
760
760
# since we are sure that it cannot get there
761
761
self.assertListRaises((errors.InvalidRange, errors.ShortReadvError,),
762
t.readv, 'a', [(1,1), (8,10)])
762
t.readv, 'a', [(1, 1), (8, 10)])
764
764
# This is trying to seek past the end of the file, it should
765
765
# also raise a special error
766
766
self.assertListRaises((errors.InvalidRange, errors.ShortReadvError,),
769
769
def test_readv_multiple_get_requests(self):
770
770
server = self.get_readonly_server()