

def test_upload_large(self):
    data = self._make_data((self.simulator.MIN_PART_SIZE * 3))
    progress_listener = StubProgressListener()
    self.bucket.upload_bytes(data, 'file1', progress_listener=progress_listener)
    self._check_file_contents('file1', data)
    self.assertEqual('600: 200 400 600', progress_listener.get_history())

dataset/ETHPy150Open Backblaze/B2_Command_Line_Tool/test/test_bucket.py TestUpload.test_upload_large/original