Home
last modified time | relevance | path

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

/tools/acloud/internal/lib/
Dutils_test.py260 answer_list = ["image1.zip", "image2.zip", "image3.zip"]
263 utils.GetAnswerFromList(answer_list)
265 self.assertEqual(utils.GetAnswerFromList(answer_list),
267 self.assertEqual(utils.GetAnswerFromList(answer_list),
269 self.assertEqual(utils.GetAnswerFromList(answer_list),
271 self.assertEqual(utils.GetAnswerFromList(answer_list,
273 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]]