MCPcopy
hub / github.com/celery/celery / test_conf

Method test_conf

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

Source from the content-addressed store, hash-verified

213 assert 'expired_in_past' not in x['revoked']
214
215 def test_conf(self):
216 consumer = Consumer(self.app)
217 panel = self.create_panel(consumer=consumer)
218 panel.app = self.app
219 panel.app.finalize()
220 self.app.conf.some_key6 = 'hello world'
221 x = panel.handle('dump_conf')
222 assert 'some_key6' in x
223
224 def test_election(self):
225 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