12345678 |
- def testComputeEndByte(self):
- total_size = 100
- chunksize = 10
- download = transfer.Download.FromStream(
- six.StringIO(), chunksize=chunksize, total_size=total_size)
- self.assertEqual(chunksize - 1,
- download._Download__ComputeEndByte(0, end=50))
|