(arq_redis: ArqRedis, worker)
| 561 | |
| 562 | |
| 563 | async def test_run_check_error(arq_redis: ArqRedis, worker): |
| 564 | await arq_redis.enqueue_job('fails') |
| 565 | worker: Worker = worker(functions=[func(fails, name='fails')]) |
| 566 | with pytest.raises(FailedJobs, match=r"1 job failed TypeError\('my type error'"): |
| 567 | await worker.run_check() |
| 568 | |
| 569 | |
| 570 | async def test_run_check_error2(arq_redis: ArqRedis, worker): |
nothing calls this directly
no test coverage detected
searching dependent graphs…