#NEWLINE# def test_topic_unread_list_show_private_topic( self ) : #NEWLINE# #INDENT# '\n        topic private in unread list\n        ' #NEWLINE# TopicUnread . objects . all ( ) . delete ( ) #NEWLINE# topic_a = utils . create_private_topic ( user = self . user ) #NEWLINE# TopicUnread . objects . create ( user = self . user , topic = topic_a . topic , is_read = False ) #NEWLINE# utils . login ( self ) #NEWLINE# response = self . client . get ( reverse ( 'spirit:topic:unread:index' ) ) #NEWLINE# self . assertEqual ( list ( response . context [ 'page' ] ) , [ topic_a . topic ] )