Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/redis-py
/ sleep
Method
sleep
tests/test_asyncio/test_lock.py:21–23 ·
view source on GitHub ↗
(self, sleep)
Source
from the content-addressed store, hash-verified
19
return
self.now
20
21
async
def
sleep(self, sleep):
22
self.sleeps.append(sleep)
23
self.now += sleep
24
25
26
class
TestLock:
Callers
15
call_with_retry
Method · 0.45
get_conn
Function · 0.45
test_hexpire_basic
Function · 0.45
test_hexpire_with_timedelta
Function · 0.45
test_hexpire_conditions
Function · 0.45
test_hexpire_multiple_fields
Function · 0.45
test_hpexpire_basic
Function · 0.45
test_hpexpire_with_timedelta
Function · 0.45
test_hpexpire_conditions
Function · 0.45
test_hpexpire_multiple_fields
Function · 0.45
test_hexpireat_basic
Function · 0.45
test_hexpireat_with_datetime
Function · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected