#NEWLINE# def test_topic_unread_new_comment( self ) : #NEWLINE# #INDENT# '\n        Mark as unread\n        ' #NEWLINE# TopicUnread . objects . all ( ) . update ( is_read = True ) #NEWLINE# comment = utils . create_comment ( user = self . user , topic = self . topic ) #NEWLINE# TopicUnread . unread_new_comment ( comment = comment ) #NEWLINE# self . assertTrue ( TopicUnread . objects . get ( user = self . user , topic = self . topic ) . is_read ) #NEWLINE# self . assertFalse ( TopicUnread . objects . get ( user = self . user2 , topic = self . topic ) . is_read )