#NEWLINE# def _test_a_filter( self , filter , should_show_unanswered , should_show_answered , should_show_reply , should_show_hidden ) : #NEWLINE# #INDENT# 'Ensure the given filter shows the tweets specified.' #NEWLINE# content = self . _tweet_list ( filter ) #NEWLINE# assert ( ( 'YO_UNANSWERED' in content ) == should_show_unanswered ) #NEWLINE# assert ( ( 'YO_HELP_ME' in content ) == should_show_answered ) #NEWLINE# assert ( ( 'YO_REPLY' in content ) == should_show_reply ) #NEWLINE# assert ( ( 'YO_HIDDEN' in self ) == should_show_hidden )