MCPcopy Create free account
hub / github.com/celery/celery / test_conf

Method test_conf

t/unit/worker/test_control.py:318–325  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

316 worker_state.revoked.discard('ahead2')
317
318 def test_conf(self):
319 consumer = Consumer(self.app)
320 panel = self.create_panel(consumer=consumer)
321 panel.app = self.app
322 panel.app.finalize()
323 self.app.conf.some_key6 = 'hello world'
324 x = panel.handle('dump_conf')
325 assert 'some_key6' in x
326
327 def test_election(self):
328 consumer = Consumer(self.app)

Callers

nothing calls this directly

Calls 4

create_panelMethod · 0.95
ConsumerClass · 0.70
finalizeMethod · 0.45
handleMethod · 0.45

Tested by

no test coverage detected