#NEWLINE# def test_search_returns_proper_doc_classes( data_client ) : #NEWLINE# #INDENT# result = Repository . search ( ) . execute ( ) #NEWLINE# elasticsearch_repo = result . hits [ 0 ] #NEWLINE# assert isinstance ( elasticsearch_repo , Repository ) #NEWLINE# assert ( elasticsearch_repo . owner . name == 'elasticsearch' )