#NEWLINE# def test_diff_word( ) : #NEWLINE# #INDENT# A = 'The' #NEWLINE# B = 'This' #NEWLINE# result = words_diff ( A , B ) #NEWLINE# assert ( B [ 0 ] [ 'state' ] == 'deleted' ) #NEWLINE# assert ( result [ 1 ] [ 'state' ] == 'added' )