#NEWLINE# def assertFieldChanged( self , ticket_id , field , new_value ) : #NEWLINE# #INDENT# ticket = Ticket ( self . env , int ( ticket_id ) ) #NEWLINE# changes = ticket . get_changelog ( ) #NEWLINE# field_change = [ c for c in changes if ( c [ 2 ] == field ) ] [ 0 ] #NEWLINE# self . assertEqual ( field_change [ 4 ] , new_value )