summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author2014BDuck <2014bduck@gmail.com>2020-07-25 16:16:02 +0800
committer2014BDuck <2014bduck@gmail.com>2020-07-25 16:16:02 +0800
commit7995723aee0744fc0a1d5ea9ec9185436661bbfc (patch)
treeef98487df2e42cc173d4435e44bc587d6900377c
parent0e63f212048af7511bf7c36886a6f03fb04f084a (diff)
downloadredis-py-7995723aee0744fc0a1d5ea9ec9185436661bbfc.tar.gz
Fixed hardcoded redis host to 'master'
-rw-r--r--tests/test_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_commands.py b/tests/test_commands.py
index d0a4f71..2a134ea 100644
--- a/tests/test_commands.py
+++ b/tests/test_commands.py
@@ -208,7 +208,7 @@ class TestRedisCommands(object):
keys=['cache:*'], nopass=True)
r.acl_log_reset()
- r_test = redis.Redis(host='localhost', port=6379, db=9,
+ r_test = redis.Redis(host='master', port=6379, db=9,
username=username)
# Valid operation and key