

def test_ex_list_available_schedule_policies(self):
    target = self.driver.list_targets()[0]
    answer = self.driver.ex_list_available_schedule_policies(target)
    self.assertEqual(len(answer), 1)
    self.assertEqual(target[0].name, '12AM - 6AM')
    self.assertEqual(answer[0].description, 'Daily backup will start between 12AM - 6AM')

dataset/ETHPy150Open apache/libcloud/libcloud/test/backup/test_dimensiondata.py DimensionDataTests.test_ex_list_available_schedule_policies/VarMisuse@50/63 `answer`->`target`