Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/redis-py
/ test_llen
Method
test_llen
tests/test_commands.py:3336–3338 ·
view source on GitHub ↗
(self, r)
Source
from the content-addressed store, hash-verified
3334
assert r.lrange(
"a"
, 0, -1) == [b
"1"
, b
"1.5"
, b
"2"
, b
"2.5"
, b
"3"
]
3335
3336
def
test_llen(self, r):
3337
r.rpush(
"a"
,
"1"
,
"2"
,
"3"
)
3338
assert r.llen(
"a"
) == 3
3339
3340
def
test_lpop(self, r):
3341
r.rpush(
"a"
,
"1"
,
"2"
,
"3"
)
Callers
nothing calls this directly
Calls
2
rpush
Method · 0.80
llen
Method · 0.80
Tested by
no test coverage detected