

def test_ex_get_backup_details_for_target(self):
    target = self.driver.list_targets()[0]
    response = self.driver.ex_get_backup_details_for_target(target)
    self.assertEqual(response.service_plan, 'Enterprise')
    client = response.clients[0]
    self.assertEqual(client.id, '30b1ff76-c76d-4d7c-b39d-3b72be0384c8')
    self.assertEqual(client.type.type, 'FA.Linux')
    self.assertEqual(client.running_job.progress, 5)
    self.assertTrue(isinstance(client.running_job, BackupTargetJob))
    self.assertEqual(len(client.alert.notify_list), 2)
    self.assertTrue(isinstance(target.alert.notify_list, list))

dataset/ETHPy150Open apache/libcloud/libcloud/test/backup/test_dimensiondata.py DimensionDataTests.test_ex_get_backup_details_for_target/VarMisuse@127/188 `client`->`target`