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

Class Settings

tests/test_worker.py:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38def 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)

Callers

nothing calls this directly

Calls 1

funcFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…