#NEWLINE# def test_redis( ) : #NEWLINE# #INDENT# url = 'redis://127.0.0.1:6379/0?key_prefix=site1' #NEWLINE# config = django_cache_url . parse ( url ) #NEWLINE# assert ( config [ 'BACKEND' ] == 'django_redis.cache.RedisCache' ) #NEWLINE# assert ( config [ 'LOCATION' ] == '127.0.0.1:6379:0' )