human
Solve the following python programming problem given the following code:
@ record 
def test_create_blob_from_stream_with_progress_chunked_upload(self) : 
    blob_name = self._get_blob_reference () 
    data = self.get_random_bytes (LARGE_BLOB_SIZE) 
    with open (FILE_PATH, 'wb') as stream : 
        stream.write (data) 
progress = [] 
    def callback(current, total) : 
        progress.append ((current, total)) 
blob_size = len (data) 
    with open (FILE_PATH, 'rb') as stream : 
        self.bs.create_blob_from_stream (self.container_name, blob_name, stream, blob_size, progress_callback = callback) 
self.assertBlobEqual (self.container_name, blob_name, data [: blob_size]) 
    self.assert_upload_progress (len (progress), self.bs.MAX_PAGE_SIZE, progress) 

    
    

    Fix the buggy line: self.assert_upload_progress (len (progress), self.bs.MAX_PAGE_SIZE, progress)
assistant
#Here is Python program to fix the buggy line: self.

self.assert_upload_progress (len (data), self.bs.MAX_PAGE_SIZE, progress)