Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/redis-py
/ sleep
Method
sleep
tests/test_lock.py:20–22 ·
view source on GitHub ↗
(self, sleep)
Source
from the content-addressed store, hash-verified
18
return
self.now
19
20
def
sleep(self, sleep):
21
self.sleeps.append(sleep)
22
self.now += sleep
23
24
25
class
TestLock:
Callers
15
search_vss.py
File · 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
test_hexpireat_multiple_fields
Function · 0.45
Calls
1
append
Method · 0.45
Tested by
no test coverage detected