#NEWLINE# def test_parse_string_attributes( self ) : #NEWLINE# #INDENT# source = '\n        <multiple_attributes "Multiple attributes"\n        first: "First attribute"\n        second: "Second attribute">\n        ' #NEWLINE# ( path , resource ) = self . parse_string ( source ) #NEWLINE# assert_attributes_equal ( resource . translations [ 0 ] , key = self . key ( 'multiple_attributes' ) , strings = { #NEWLINE# #INDENT# None : 'Multiple attributes' , #NEWLINE# #UNINDENT# } , order = 0 ) #NEWLINE# assert_attributes_equal ( resource . translations [ 1 ] , key = self . key ( 'multiple_attributes.first' ) , strings = { #NEWLINE# #INDENT# None : 'First attribute' , #NEWLINE# #UNINDENT# } , order = 1 ) #NEWLINE# assert_attributes_equal ( resource . translations [ 2 ] , key = self . key ( 'multiple_attributes.second' ) , strings = { #NEWLINE# #INDENT# None : 'Second attribute' , #NEWLINE# #UNINDENT# } , order = 2 )