You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to mock a redis docker container I tried this:
@patch('redis.Redis', mockredis.mock_redis_client(url=redis_conf.get('host'), db=redis_conf.get('db'), port=redis_conf.get('port')).strict)
but seems not working.
The text was updated successfully, but these errors were encountered:
saady
changed the title
How to mock redis that run inside of a container
How to mock redis that runs inside of a container
Aug 30, 2016
I want to mock a redis docker container I tried this:
@patch('redis.Redis', mockredis.mock_redis_client(url=redis_conf.get('host'), db=redis_conf.get('db'), port=redis_conf.get('port')).strict)
but seems not working.
The text was updated successfully, but these errors were encountered: