#NEWLINE# def test_project_summary_must( self ) : #NEWLINE# #INDENT# '\n        Project Summary-level description that MUST be present.\n        ' #NEWLINE# test_query = 'B0E44766-B5FD-442B-98D8-993DF49A868C' #NEWLINE# test_filter = self . select . sparql_meta . downloadURL . str . contains ( test_query ) #NEWLINE# test_record = self . select . sparql_meta [ test_filter ] #NEWLINE# idx = test_record . index . to_native_types ( ) [ 0 ] #NEWLINE# result = self . select . execute_select ( idx , turtle_file = self . turtle ) #NEWLINE# self . assertEqual ( urlparse . urlparse ( result . uri [ 0 ] ) . fragment , 'database' ) #NEWLINE# self . assertEqual ( result . title [ 0 ] , 'Database Summary Title' ) #NEWLINE# self . assertEqual ( result . description [ 0 ] , 'Database summary-level description.' ) #NEWLINE# self . assertEqual ( result . type [ 0 ] , 'http://purl.org/dc/dcmitype/Dataset' ) #NEWLINE# self . assertEqual ( result . publisher [ 0 ] , 'https://publisher.org' ) #NEWLINE# self . assertEqual ( urlparse . urlparse ( result . hasPart [ 0 ] ) . fragment , 'project' )