#NEWLINE# def test_xapian_parsing( self ) : #NEWLINE# #INDENT# flags = 'myflags' #NEWLINE# url = ( '%s?FLAGS=%s' % ( self . xapian_url , flags ) ) #NEWLINE# url = Env . search_url_config ( self ) #NEWLINE# self . assertEqual ( url [ 'ENGINE' ] , 'haystack.backends.xapian_backend.XapianEngine' ) #NEWLINE# self . assertTrue ( ( 'PATH' in url . keys ( ) ) ) #NEWLINE# self . assertEqual ( url [ 'PATH' ] , '/home/search/xapian_index' ) #NEWLINE# self . assertTrue ( ( 'FLAGS' in url . keys ( ) ) ) #NEWLINE# self . assertEqual ( url [ 'FLAGS' ] , flags ) #NEWLINE# self . assertTrue ( ( 'INDEX_NAME' not in url ) )