def METHOD_NAME(request, master_ip):
    def teardown():
        redis.sentinel.Redis = saved_Redis
    METHOD_NAME = SentinelTestCluster(ip=master_ip)
    saved_Redis = redis.sentinel.Redis
    redis.sentinel.Redis = METHOD_NAME.client
    request.addfinalizer(teardown)
    return METHOD_NAME