#NEWLINE# def test_mention_rendered( self ) : #NEWLINE# #INDENT# plug = RecentPressMentionsPlugin ( ) #NEWLINE# mentions = plug . render ( { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , plug , 'foo' ) [ 'recent_mentions' ] [ 'objects' ] #NEWLINE# self . assertIn ( self . mention , plug ) #NEWLINE# self . assertNotIn ( self . unpublished_mention , mentions )