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

Method test_clock

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

Source from the content-addressed store, hash-verified

235 assert 'unavailable' in panel.handle('disable_events')['error']
236
237 def test_clock(self):
238 consumer = Consumer(self.app)
239 panel = self.create_panel(consumer=consumer)
240 panel.state.app.clock.value = 313
241 x = panel.handle('clock')
242 assert x['clock'] == 313
243
244 def test_hello(self):
245 consumer = Consumer(self.app)

Callers

nothing calls this directly

Calls 3

create_panelMethod · 0.95
ConsumerClass · 0.70
handleMethod · 0.45

Tested by

no test coverage detected