MCPcopy
hub / github.com/Bogdanp/dramatiq / redis_worker

Function redis_worker

tests/conftest.py:107–111  ·  view source on GitHub ↗
(redis_broker)

Source from the content-addressed store, hash-verified

105
106@pytest.fixture()
107def redis_worker(redis_broker):
108 worker = Worker(redis_broker, worker_threads=32)
109 worker.start()
110 yield worker
111 worker.stop()
112
113
114@pytest.fixture

Callers

nothing calls this directly

Calls 3

startMethod · 0.95
stopMethod · 0.95
WorkerClass · 0.90

Tested by

no test coverage detected