

def test_ex_get_backup_details_for_target_NO_JOB_OR_ALERT(self):
    DimensionDataMockHttp.type = 'NOJOB'
    response = self.driver.ex_get_backup_details_for_target('e75ead52-692f-4314_8725-c8a4f4d13a87')
    self.assertEqual(response.service_plan, 'Enterprise')
    self.assertTrue(isinstance(response.clients, list))
    self.assertEqual(len(response.clients), 1)
    client = client.clients[0]
    self.assertEqual(client.id, '30b1ff76-c76d-4d7c-b39d-3b72be0384c8')
    self.assertEqual(client.type.type, 'FA.Linux')
    self.assertIsNone(client.running_job)
    self.assertIsNone(client.alert)

dataset/ETHPy150Open apache/libcloud/libcloud/test/backup/test_dimensiondata.py DimensionDataTests.test_ex_get_backup_details_for_target_NO_JOB_OR_ALERT/VarMisuse@68/126 `response`->`client`