def test_list_objects(self): known_objects = ["Cache", "Memory", "Process", "Processor", "System"] objects = win_pdh.list_objects() for item in known_objects: self.assertTrue(item in objects)
def test_list_objects(self): known_objects = ['Cache', 'Memory', 'Process', 'Processor', 'System'] objects = win_pdh.list_objects() for item in known_objects: self.assertTrue(item in objects)