Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Add new task queue that will be consumed from even when
a subset has been selected using the :option:`-Q` option.

src/c/e/celery-3.1.11/celery/tests/app/test_amqp.py   celery(Download)
    def test_select_add(self):
        q = Queues()
        q.select(['foo', 'bar'])
        q.select_add('baz')
        self.assertItemsEqual(keys(q._consume_from), ['foo', 'bar', 'baz'])

src/c/e/celery-HEAD/celery/tests/app/test_amqp.py   celery(Download)
    def test_select_add(self):
        q = Queues()
        q.select(['foo', 'bar'])
        q.select_add('baz')
        self.assertItemsEqual(keys(q._consume_from), ['foo', 'bar', 'baz'])