locationlabs / mockredis

mock for redis-py (NO LONGER SUPPORTED)
Apache License 2.0
227 stars 107 forks source link

How to mock redis that runs inside of a container #113

Open saady opened 8 years ago

saady commented 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.