#NEWLINE# def test_documentation_element_rights( self ) : #NEWLINE# #INDENT# xml = '<documentation type="rights"> Users of these data files are expected  to follow the NASA ESPO Archive guidelines for use of the SOLVE data, including consulting with the PIs of the individual measurements  for interpretation and credit.</documentation>' #NEWLINE# element = self . _make_element ( xml ) #NEWLINE# md = TDSCatalogMetadata ( element ) . metadata #NEWLINE# assert ( 'documentation' in md ) #NEWLINE# assert ( 'rights' in md [ 'documentation' ] ) #NEWLINE# assert ( len ( md [ 'documentation' ] [ 'rights' ] ) > 0 ) #NEWLINE# for entry in md [ 'documentation' ] [ 'rights' ] : #NEWLINE# #INDENT# assert ( entry != [ ] )