def test_get_counter(self): results = win_pdh.get_counter("Processor", "*", "% Processor Time") self.assertTrue("\\Processor(*)\\% Processor Time" in results)
def test_get_counter(self): results = win_pdh.get_counter('Processor', '*', '% Processor Time') self.assertTrue('\\Processor(*)\\% Processor Time' in results)