<s> """<STR_LIT>""" <EOL> import sys <EOL> from certbot . display import util <EOL> from certbot . tests . display import util_test <EOL> def test_visual ( displayer , choices ) : <EOL> """<STR_LIT>""" <EOL> displayer . notification ( "<STR_LIT>" ) <EOL> displayer . menu ( "<STR_LIT>" , choices , <EOL> ok_label = "<STR_LIT:O>" , cancel_label = "<STR_LIT>" , help_label = "<STR_LIT>" ) <EOL> displayer . menu ( "<STR_LIT>" , [ choice [ <NUM_LIT:1> ] for choice in choices ] , <EOL> ok_label = "<STR_LIT:O>" , cancel_label = "<STR_LIT>" , help_label = "<STR_LIT>" ) <EOL> displayer . input ( "<STR_LIT>" ) <EOL> displayer . yesno ( "<STR_LIT>" , yes_label = "<STR_LIT>" , no_label = "<STR_LIT>" ) <EOL> displayer . checklist ( "<STR_LIT>" , [ choice [ <NUM_LIT:0> ] for choice in choices ] ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> for displayer in util . NcursesDisplay ( ) , util . FileDisplay ( sys . stdout ) : <EOL> test_visual ( displayer , util_test . CHOICES ) </s>
