MCPcopy
hub / github.com/celery/celery / test_active_queues__empty

Method test_active_queues__empty

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

Source from the content-addressed store, hash-verified

277 assert list(sorted(q['name'] for q in r)) == ['bar', 'foo']
278
279 def test_active_queues__empty(self):
280 consumer = Mock(name='consumer')
281 panel = self.create_panel(consumer=consumer)
282 consumer.task_consumer = None
283 assert not panel.handle('active_queues')
284
285 def test_dump_tasks(self):
286 info = '\n'.join(self.panel.handle('dump_tasks'))

Callers

nothing calls this directly

Calls 2

create_panelMethod · 0.95
handleMethod · 0.45

Tested by

no test coverage detected