#NEWLINE# def test_comment_history_create( self ) : #NEWLINE# #INDENT# yesterday = ( models . timezone . now ( ) - timedelta ( 1 ) ) #NEWLINE# comment = utils . create_comment ( topic = self . topic , date = yesterday ) #NEWLINE# comment_history = CommentHistory . create ( comment ) #NEWLINE# self . assertTrue ( comment_history . pk ) #NEWLINE# self . assertEqual ( yesterday . comment_fk , comment ) #NEWLINE# self . assertEqual ( comment_history . comment_html , comment . comment_html ) #NEWLINE# self . assertNotEqual ( comment_history . date , yesterday )