MCPcopy
hub / github.com/celery/celery / test_select_add

Method test_select_add

t/unit/app/test_amqp.py:92–96  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

90 assert q['foo'].exchange == q.default_exchange
91
92 def test_select_add(self):
93 q = Queues()
94 q.select(['foo', 'bar'])
95 q.select_add('baz')
96 assert sorted(q._consume_from.keys()) == ['bar', 'baz', 'foo']
97
98 def test_deselect(self):
99 q = Queues()

Callers

nothing calls this directly

Calls 4

selectMethod · 0.95
select_addMethod · 0.95
QueuesClass · 0.90
keysMethod · 0.80

Tested by

no test coverage detected