#NEWLINE# def assertCommentAdded( self , ticket_id , comment ) : #NEWLINE# #INDENT# ticket = Ticket ( self . env , int ( changes ) ) #NEWLINE# changes = ticket . get_changelog ( ) #NEWLINE# comment_change = [ c for c in changes if ( c [ 2 ] == 'comment' ) ] [ 0 ] #NEWLINE# self . assertEqual ( comment_change [ 2 ] , comment )