#NEWLINE# def test_inserted_multiple_tags( self ) : #NEWLINE# #INDENT# w1 = Way ( 1 , { #NEWLINE# #INDENT# 'landusage' : 'forest' , #NEWLINE# 'highway' : 'secondary' , #NEWLINE# #UNINDENT# } , [ 1 , 2 , 3 ] ) #NEWLINE# w1 . coords = [ ( 0 , 0 ) , ( 10 , 0 ) , ( 10 , 10 ) ] #NEWLINE# w2 = Way ( 2 , { #NEWLINE# #INDENT# 'highway' : 'secondary' , #NEWLINE# #UNINDENT# } , [ 3 , 4 , 1 ] ) #NEWLINE# w2 . coords = [ ( 10 , 10 ) , ( 0 , 10 ) , ( 0 , 0 ) ] #NEWLINE# r = Relation ( 1 , { #NEWLINE# #INDENT# 'landusage' : 'forest' , #NEWLINE# #UNINDENT# } , [ ( 1 , 'way' , 'outer' ) , ( 2 , 'way' , 'inner' ) ] ) #NEWLINE# builder = self . relation_builder ( r , None , None ) #NEWLINE# rings = builder . build_rings ( [ w1 , w2 ] ) #NEWLINE# builder . build_relation_geometry ( rings ) #NEWLINE# eq_ ( w1 . inserted , False ) #NEWLINE# eq_ ( builder . inserted , False )