fix wrong redis server host.

This commit is contained in:
2019-12-12 15:07:23 +00:00
parent 3272755fea
commit f5cdf17c48

View File

@@ -33,7 +33,7 @@ class TestRedis(unittest.TestCase):
current.response = response
current.session = session
self.current = current
rconn = RConn(host='redis')
rconn = RConn(host='localhost')
self.db = RedisSession(redis_conn=rconn, session_expiry=False)
self.tname = 'testtablename'
return current