示例#1
0
 def inline() -> Activity:
     return ChoiceFactory.inline(choices, text, None, options)
 def test_inline_should_render_choices_inline(self):
     activity = ChoiceFactory.inline(ChoiceFactoryTest.color_choices,
                                     "select from:")
     self.assertEqual("select from: (1) red, (2) green, or (3) blue",
                      activity.text)