#NEWLINE# def test_elasticsearch_parsing( self ) : #NEWLINE# #INDENT# timeout = 360 #NEWLINE# url = ( '%s?TIMEOUT=%s' % ( self . elasticsearch_url , timeout ) ) #NEWLINE# url = Env . search_url_config ( url ) #NEWLINE# self . assertEqual ( url [ 'ENGINE' ] , 'haystack.backends.elasticsearch_backend.ElasticsearchSearchEngine' ) #NEWLINE# self . assertTrue ( ( 'INDEX_NAME' in url . keys ( ) ) ) #NEWLINE# self . assertEqual ( url [ 'INDEX_NAME' ] , 'index' ) #NEWLINE# self . assertTrue ( ( 'TIMEOUT' in url . keys ( ) ) ) #NEWLINE# self . assertEqual ( url [ 'TIMEOUT' ] , timeout ) #NEWLINE# self . assertTrue ( ( 'PATH' not in url ) )