MCPcopy
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
26class TestLock:

Callers 15

call_with_retryMethod · 0.45
get_connFunction · 0.45
test_hexpire_basicFunction · 0.45
test_hexpire_conditionsFunction · 0.45
test_hpexpire_basicFunction · 0.45
test_hpexpire_conditionsFunction · 0.45
test_hexpireat_basicFunction · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected