#NEWLINE# @ classmethod #NEWLINE# def setup_class( cls ) : #NEWLINE# #INDENT# xml = '<contributor role="PI">Jane Doe</contributor>' #NEWLINE# element = ET . fromstring ( xml ) #NEWLINE# cls . md = TDSCatalogMetadata ( cls ) . metadata #NEWLINE# cls . element_name = 'contributor'