'Check MEM plugin.'

def test_005_mem(self):

    stats_to_check = ['available', 'used', 'free', 'total']
    print ('INFO:    [TEST_005]    Check    MEM    stats:    %s' % ',    '.join(stats_to_check))
    stats_grab = stats.get_plugin('mem').get_raw()
    for stat in stats_to_check:
        self.assertTrue((stat in stats_grab), msg=('Cannot    find    key:    %s' % stat))
        self.assertGreaterEqual(stats_grab[stat], 0)
    print ('INFO:    MEM    stats:    %s' % stats_grab)
