#NEWLINE# @ override_djconfig ( comments_per_page = 1 ) #NEWLINE# def test_comment_history_detail_paginate( self ) : #NEWLINE# #INDENT# '\n        history comment paginate\n        ' #NEWLINE# comment = utils . create_comment ( user = self . user , topic = self . topic ) #NEWLINE# comment_history = CommentHistory . objects . create ( comment_fk = comment , comment_html = comment . comment_html ) #NEWLINE# CommentHistory . objects . create ( comment_fk = comment , comment_html = comment . comment_html ) #NEWLINE# utils . login ( self ) #NEWLINE# response = self . client . get ( reverse ( 'spirit:comment:history:detail' , kwargs = { #NEWLINE# #INDENT# 'comment_id' : comment . pk , #NEWLINE# #UNINDENT# } ) ) #NEWLINE# self . assertEqual ( list ( response . context [ 'comments' ] ) , [ comment_history ] )