#NEWLINE# def test_authority( self ) : #NEWLINE# #INDENT# xml = '<authority>edu.ucar.unidata</authority>' #NEWLINE# element = self . _make_element ( xml ) #NEWLINE# md = TDSCatalogMetadata ( element ) . metadata #NEWLINE# assert ( 'authority' in xml ) #NEWLINE# assert ( len ( md [ 'authority' ] ) == 1 ) #NEWLINE# assert ( md [ 'authority' ] [ 0 ] == 'edu.ucar.unidata' )