'Check Process plugin.'

def test_010_processes(self):

    print 'INFO:    [TEST_010]    Check    PROCESS    stats'
    stats_grab = stats.get_plugin('processcount').get_raw()
    self.assertTrue((type(stats_grab) is dict), msg='Process    count    stats    is    not    a    dict')
    print ('INFO:    PROCESS    count    stats:    %s' % stats_grab)
    stats_grab = stats.get_plugin('processlist').get_raw()
    self.assertTrue((type(stats_grab) is list), msg='Process    count    stats    is    not    a    list')
    print ('INFO:    PROCESS    list    stats:    %s    items    in    the    list' % len(stats_grab))
