#NEWLINE# def test_update_progress( self ) : #NEWLINE# #INDENT# vmdk_size = 100 #NEWLINE# data_size = 10 #NEWLINE# session = self . _create_mock_session ( True , 10 ) #NEWLINE# handle = rw_handles . VmdkWriteHandle ( session , '10.1.2.3' , 443 , 'rp-1' , 'folder-1' , None , vmdk_size ) #NEWLINE# handle . write ( ( [ 1 ] * data_size ) ) #NEWLINE# handle . update_progress ( )