MCPcopy Create free account
hub / github.com/python-arq/arq / test_repeat_job

Function test_repeat_job

tests/test_main.py:145–149  ·  view source on GitHub ↗
(arq_redis: ArqRedis)

Source from the content-addressed store, hash-verified

143
144
145async def test_repeat_job(arq_redis: ArqRedis):
146 j1 = await arq_redis.enqueue_job('foobar', _job_id='job_id')
147 assert isinstance(j1, Job)
148 j2 = await arq_redis.enqueue_job('foobar', _job_id='job_id')
149 assert j2 is None
150
151
152async def test_defer_until(arq_redis: ArqRedis):

Callers

nothing calls this directly

Calls 1

enqueue_jobMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…