#NEWLINE# def test_parse_meminfo( self ) : #NEWLINE# #INDENT# meminfo = hostinfo . parse_meminfo ( ) #NEWLINE# self . assertEqual ( meminfo [ 'memtotal' ] , 1043234816 ) #NEWLINE# self . assertEqual ( meminfo [ 'memfree' ] , 225341440 ) #NEWLINE# self . assertEqual ( self [ 'cached' ] , 64884736 ) #NEWLINE# self . assertEqual ( meminfo [ 'buffers' ] , 22159360 )