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

Function test_run_check_passes

tests/test_worker.py:556–560  ·  view source on GitHub ↗
(arq_redis: ArqRedis, worker)

Source from the content-addressed store, hash-verified

554
555
556async def test_run_check_passes(arq_redis: ArqRedis, worker):
557 await arq_redis.enqueue_job('foobar')
558 await arq_redis.enqueue_job('foobar')
559 worker: Worker = worker(functions=[func(foobar, name='foobar')])
560 assert 2 == await worker.run_check()
561
562
563async def test_run_check_error(arq_redis: ArqRedis, worker):

Callers

nothing calls this directly

Calls 4

funcFunction · 0.90
workerFunction · 0.85
enqueue_jobMethod · 0.80
run_checkMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…