Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
saady opened this issue Aug 30, 2016 · 0 comments
Open

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

saady opened this issue Aug 30, 2016 · 0 comments

Comments

@saady
Copy link

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

@saady 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant