(arq_redis: ArqRedis, worker)
| 628 | |
| 629 | |
| 630 | async def test_repeat_job_result(arq_redis: ArqRedis, worker): |
| 631 | j1 = await arq_redis.enqueue_job('foobar', _job_id='job_id') |
| 632 | assert isinstance(j1, Job) |
| 633 | assert await j1.status() == JobStatus.queued |
| 634 | |
| 635 | assert await arq_redis.enqueue_job('foobar', _job_id='job_id') is None |
| 636 | |
| 637 | await worker(functions=[foobar]).run_check() |
| 638 | assert await j1.status() == JobStatus.complete |
| 639 | |
| 640 | assert await arq_redis.enqueue_job('foobar', _job_id='job_id') is None |
| 641 | |
| 642 | |
| 643 | async def test_queue_read_limit_equals_max_jobs(arq_redis: ArqRedis, worker): |
nothing calls this directly
no test coverage detected
searching dependent graphs…