Exemplo n.º 1
0
def test_listQueues():
    q = QueuePool(1)
    q.createQueue("hello")
    assert list(q.listQueues(names=True)) == [
        'hello', 'admin_out', 'admin_in', 'failed', 'success', 'logs',
        'metrics'
    ]
Exemplo n.º 2
0
def test_listQueues():
    q = QueuePool(1)
    q.createQueue("hello")
    assert list(q.listQueues(names=True)) == ['hello', 'admin_out', 'admin_in', 'failed', 'success', 'logs', 'metrics']
Exemplo n.º 3
0
def test_listQueues():
    q = QueuePool(1)
    q.createQueue("hello")
    assert sorted(list(q.listQueues(names=True))) == sorted(['hello', 'failed', 'success', 'logs', 'metrics'])
Exemplo n.º 4
0
def test_listQueues():
    q = QueuePool(1)
    q.createQueue("hello")
    assert sorted(list(q.listQueues(names=True))) == sorted(
        ['hello', 'failed', 'success', 'logs', 'metrics'])