Example #1
0
def test_cicp_redis_insert_value(indata):
    assert cicp_cache_pool().insert_value(indata["key"], indata["value"]) == True
    assert cicp_cache_pool().get_value(indata["key"]) == indata["value"]
Example #2
0
def test_cicp_redis_get_and_insert_value(indata):
    cicp_cache_pool().get_and_insert(indata["key"], indata["value"])
    assert cicp_cache_pool().get_value(indata["key"]) == indata["value"]
Example #3
0
def test_cicp_redis_connected():
    assert cicp_cache_pool().test_connect() == True