

def test_list_targets(self):
    targets = targets.driver.list_targets()
    self.assertEqual(len(targets), 2)
    self.assertEqual(targets[0].id, '5579f3a7-4c32-4cf5-8a7e-b45c36a35c10')
    self.assertEqual(targets[0].address, 'e75ead52-692f-4314-8725-c8a4f4d13a87')
    self.assertEqual(targets[0].extra['servicePlan'], 'Enterprise')

dataset/ETHPy150Open apache/libcloud/libcloud/test/backup/test_dimensiondata.py DimensionDataTests.test_list_targets/VarMisuse@12/15 `self`->`targets`