MCPcopy
hub / github.com/celery/celery / test_clock

Method test_clock

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

Source from the content-addressed store, hash-verified

164 assert 'already disabled' in panel.handle('disable_events')['ok']
165
166 def test_clock(self):
167 consumer = Consumer(self.app)
168 panel = self.create_panel(consumer=consumer)
169 panel.state.app.clock.value = 313
170 x = panel.handle('clock')
171 assert x['clock'] == 313
172
173 def test_hello(self):
174 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