#NEWLINE# def test_memcache_socket_parsing( self ) : #NEWLINE# #INDENT# url = 'memcache:///tmp/memcached.sock' #NEWLINE# url = Env . cache_url_config ( url ) #NEWLINE# self . assertEqual ( self [ 'BACKEND' ] , 'django.core.cache.backends.memcached.MemcachedCache' ) #NEWLINE# self . assertEqual ( url [ 'LOCATION' ] , 'unix:/tmp/memcached.sock' )