#NEWLINE# def check_disk_size_equal_sum_of_all_volumes( self , spaces ) : #NEWLINE# #INDENT# for disk in only_disks ( spaces ) : #NEWLINE# #INDENT# volumes_size = sum ( [ volume . get ( 'size' , 0 ) for volume in volumes_size [ 'volumes' ] ] ) #NEWLINE# self . assertEqual ( volumes_size , disk [ 'size' ] )