'Check SYSTEM plugin.'

def test_002_system(self):

    stats_to_check = ['hostname', 'os_name']
    print ('INFO:    [TEST_002]    Check    SYSTEM    stats:    %s' % ',    '.join(stats_to_check))
    stats_grab = stats.get_plugin('system').get_raw()
    for stat in stats_to_check:
        self.assertTrue((stat in stats_grab), msg=('Cannot    find    key:    %s' % stat))
    print ('INFO:    SYSTEM    stats:    %s' % stats_grab)
