Home
last modified time | relevance | path

Searched refs:answer_list (Results 1 – 2 of 2) sorted by relevance

/tools/acloud/internal/lib/
Dutils_test.py268 answer_list = ["image1.zip", "image2.zip", "image3.zip"]
271 utils.GetAnswerFromList(answer_list)
273 self.assertEqual(utils.GetAnswerFromList(answer_list),
275 self.assertEqual(utils.GetAnswerFromList(answer_list),
277 self.assertEqual(utils.GetAnswerFromList(answer_list),
279 self.assertEqual(utils.GetAnswerFromList(answer_list,
281 answer_list)
Dutils.py917 def GetAnswerFromList(answer_list, enable_choose_all=False): argument
929 max_choice = len(answer_list)
931 for num, item in enumerate(answer_list, start_index):
950 return answer_list
954 return [answer_list[choice-start_index]]