| 37 | |
| 38 | def test_no_jobs(test_redis_settings: RedisSettings, arq_redis: ArqRedis, loop, mocker): |
| 39 | class Settings: |
| 40 | functions = [func(foobar, name='foobar')] |
| 41 | burst = True |
| 42 | poll_delay = 0 |
| 43 | queue_read_limit = 10 |
| 44 | redis_settings = test_redis_settings |
| 45 | |
| 46 | loop.run_until_complete(arq_redis.enqueue_job('foobar')) |
| 47 | mocker.patch('asyncio.get_event_loop', lambda: loop) |
nothing calls this directly
no test coverage detected
searching dependent graphs…