mirror of
https://github.com/jazzband/django-defender.git
synced 2026-03-16 22:10:32 +00:00
removing print statements
This commit is contained in:
parent
f6635ab940
commit
a0ba5e378c
2 changed files with 1 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ def get_redis_connection():
|
|||
else: # pragma: no cover
|
||||
redis_config = parse_redis_url(
|
||||
config.DEFENDER_REDIS_URL, config.DEFENDER_REDIS_PASSWORD_QUOTE)
|
||||
print(redis_config)
|
||||
|
||||
return redis.StrictRedis(
|
||||
host=redis_config.get("HOST"),
|
||||
port=redis_config.get("PORT"),
|
||||
|
|
|
|||
|
|
@ -1236,7 +1236,6 @@ class TestRedisConnection(TestCase):
|
|||
passwords=["+" + "mypass2", ],
|
||||
keys="*",
|
||||
commands=["+@all", ])
|
||||
print(connection.acl_getuser('myname'))
|
||||
|
||||
try:
|
||||
redis_client = get_redis_connection()
|
||||
|
|
|
|||
Loading…
Reference in a new issue