Commit 4e30bac8 authored by Jannis Leidel's avatar Jannis Leidel Committed by Sean Bleier

Use DB 16 for the tests and hope it won't destroy any useful data.

parent c657a83d
...@@ -19,7 +19,8 @@ class RedisCacheTests(unittest.TestCase): ...@@ -19,7 +19,8 @@ class RedisCacheTests(unittest.TestCase):
""" """
def setUp(self): def setUp(self):
self.cache = get_cache('redis_cache.cache://127.0.0.1:6379') # use DB 16 for testing and hope there isn't any important data :->
self.cache = get_cache('redis_cache.cache://127.0.0.1:6379?db=15')
def tearDown(self): def tearDown(self):
self.cache.clear() self.cache.clear()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment