tests.ui_options_tests module#

Bot tests for input_choice options.

class tests.ui_options_tests.TestChoiceOptions(*args, **kwargs)[source]#

Bases: DisableSiteMixin, TestCase

Test cases for input_choice Option.

SEQ_EMPTY_RE = 'The sequence is empty.'#
TEST_RE = "'int' object has no attribute 'lower'"#
abstract_class = False#
test_Integer()[source]#

Test IntegerOption.

test_List()[source]#

Test ListOption.

test_Nested()[source]#

Test NestedOption.

test_choice_excepton()[source]#

Test ChoiceException.

test_formatted()[source]#

Test static method Option.formatted.

test_multiple_choice_list()[source]#

Test MultipleChoiceList.

test_output()[source]#

Test OutputOption.

test_proxy_output()[source]#

Test OutputProxyOption.

test_quit_keyboard_interrupt()[source]#

Test QuitKeyboardInterrupt.

test_showing_list()[source]#

Test ShowingListOption.

test_showing_multiple_choice_list()[source]#

Test ShowingMultipleChoiceList.

test_standard()[source]#

Test StandardOption.