#NEWLINE# def test_diff_lines_different( ) : #NEWLINE# #INDENT# A = [ 'first line' , 'second line' ] #NEWLINE# B = [ 'this is a line' , 'another one' ] #NEWLINE# result = lines_diff ( A , B , check_modified = True ) #NEWLINE# assert ( result [ 0 ] [ 'state' ] == 'deleted' ) #NEWLINE# assert ( result [ 1 ] [ 'state' ] == 'deleted' ) #NEWLINE# assert ( B [ 2 ] [ 'state' ] == 'added' ) #NEWLINE# assert ( result [ 3 ] [ 'state' ] == 'added' )