

def test_ex_add_client_to_target(self):
    target = self.driver.list_targets()[0]
    client = self.driver.ex_list_available_client_types(target)[0]
    storage_policy = self.driver.ex_list_available_storage_policies(target)[0]
    schedule_policy = self.driver.ex_list_available_schedule_policies(target)[0]
    self.assertTrue(self.driver.ex_add_client_to_target(target, client, storage_policy, schedule_policy, 'ON_FAILURE', 'nobody@example.com'))

dataset/ETHPy150Open apache/libcloud/libcloud/test/backup/test_dimensiondata.py DimensionDataTests.test_ex_add_client_to_target/original