Open saady opened 8 years ago
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.
@patch('redis.Redis', mockredis.mock_redis_client(url=redis_conf.get('host'), db=redis_conf.get('db'), port=redis_conf.get('port')).strict)
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.