def test_info_not_found(): assert info("foo") == "Test foo have not found"
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__