#NEWLINE# def test_subreddit_unauthenticated( subreddit_page , terminal ) : #NEWLINE# #INDENT# methods = [ 'a' , 'z' , 'c' , 'e' , 'd' , 's' ] #NEWLINE# for ch in methods : #NEWLINE# #INDENT# subreddit_page . controller . trigger ( ch ) #NEWLINE# text = 'Not logged in' . encode ( 'utf-8' ) #NEWLINE# terminal . stdscr . subwin . addstr . assert_called_with ( 1 , 1 , text )