pytest-redis
pytest-redis copied to clipboard
Support for Sentinel?
What action do you want to perform
Test an application that uses Sentinel to discover masters/slaves
What are the results
What are the expected results
https://redis.io/topics/sentinel
What would be the use case to include it into pytest-redis? What would you like to test for?
A fixture that manages the lifecycle of even a single Sentinel and associated replica, similar to what is done with redis_server. Applications that use Sentinel usually have service discovery baked into their code.
Currently, I can get around it by mocking Sentinel.master_for to return the existing Redis fixtures so this isn't a big priority