예제 #1
0
def test_info_not_found():
    assert info("foo") == "Test foo have not found"
예제 #2
0
def test_info():
    """ Get info from Thread pika implemenation """
    from python_amqp.consume_many_queues.pika import Thread
    doc_string = info(Thread.NAME)
    assert doc_string == Thread.__doc__