Example #1
0
def test_ping_redis():
    r = redis.StrictRedis(port=6388)
    with pytest.raises(Exception):
        ping_redis(r)
Example #2
0
 def start(self):
     ping_redis(self.r)
     self.spawn_cluster()
     self.guard()
Example #3
0
 def start(self):
     ping_redis(self.r)
     self.spawn_cluster()
     self.guard()
Example #4
0
def test_ping_redis():
    r = redis.StrictRedis(port=6388)
    with pytest.raises(Exception):
        ping_redis(r)