#NEWLINE# def testDiskUsage( self ) : #NEWLINE# #INDENT# self . filesystem . CreateFile ( 'foo/bar' , st_size = 400 ) #NEWLINE# disk_usage = self . shutil . disk_usage ( '/' ) #NEWLINE# self . assertEqual ( 1000 , disk_usage . total ) #NEWLINE# self . assertEqual ( 400 , disk_usage . used ) #NEWLINE# self . assertEqual ( 600 , disk_usage . free ) #NEWLINE# self . assertEqual ( ( 1000 , 400 , 600 ) , disk_usage )