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

Method test_active_queues__empty

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

Source from the content-addressed store, hash-verified

387 assert list(sorted(q['name'] for q in r)) == ['bar', 'foo']
388
389 def test_active_queues__empty(self):
390 consumer = Mock(name='consumer')
391 panel = self.create_panel(consumer=consumer)
392 consumer.task_consumer = None
393 assert not panel.handle('active_queues')
394
395 def test_dump_tasks(self):
396 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