SIENTIAPDE-1005
Redis auth
This commit is contained in:
@@ -24,7 +24,9 @@ def test___init__(mock_gates_init, mock_kafka_init, mock_redis_init, mock_postgr
|
||||
|
||||
redis_config = {
|
||||
'host': 'localhost',
|
||||
'port': 6379
|
||||
'port': 6379,
|
||||
'username': 'redis',
|
||||
'password': 'redis'
|
||||
}
|
||||
|
||||
kafka_config = {
|
||||
@@ -67,6 +69,8 @@ def test___init__(mock_gates_init, mock_kafka_init, mock_redis_init, mock_postgr
|
||||
ANY,
|
||||
host=redis_config['host'],
|
||||
port=redis_config['port'],
|
||||
username=redis_config['username'],
|
||||
password=redis_config['password'],
|
||||
logger=logger,
|
||||
notification_handler=notification_handler
|
||||
)
|
||||
@@ -104,7 +108,9 @@ def test_prepare_activity(_mock_kafka_init,
|
||||
|
||||
redis_config = {
|
||||
'host': 'localhost',
|
||||
'port': 6379
|
||||
'port': 6379,
|
||||
'username': 'redis',
|
||||
'password': 'redis'
|
||||
}
|
||||
|
||||
kafka_config = {
|
||||
|
||||
Reference in New Issue
Block a user