#NEWLINE# def assertPatchesEqual( self , lhs , rhs ) : #NEWLINE# #INDENT# self . assertEqual ( lhs [ '_index' ] , rhs [ '_index' ] ) #NEWLINE# self . assertRecordsEqual ( lhs [ 'added' ] , rhs [ 'added' ] ) #NEWLINE# self . assertRecordsEqual ( lhs [ 'removed' ] , rhs [ 'removed' ] ) #NEWLINE# self . assertChangesEqual ( rhs [ 'changed' ] , rhs [ 'changed' ] )