MCPcopy
hub / github.com/redis/redis-py / client

Function client

tests/test_bloom.py:28–36  ·  view source on GitHub ↗
(decoded_r)

Source from the content-addressed store, hash-verified

26
27@pytest.fixture
28def client(decoded_r):
29 assert isinstance(decoded_r.bf(), redis.commands.bf.BFBloom)
30 assert isinstance(decoded_r.cf(), redis.commands.bf.CFBloom)
31 assert isinstance(decoded_r.cms(), redis.commands.bf.CMSBloom)
32 assert isinstance(decoded_r.tdigest(), redis.commands.bf.TDigestBloom)
33 assert isinstance(decoded_r.topk(), redis.commands.bf.TOPKBloom)
34
35 decoded_r.flushdb()
36 return decoded_r
37
38
39@pytest.mark.redismod

Callers

nothing calls this directly

Calls 6

flushdbMethod · 0.80
bfMethod · 0.45
cfMethod · 0.45
cmsMethod · 0.45
tdigestMethod · 0.45
topkMethod · 0.45

Tested by

no test coverage detected