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