def test_merge_smallest_bucket():

    t = Text('aa bb bb cc cc dd dd dd')

    # Top 2 words are 'cc' and 'bb'
    assert t.most_frequent_terms(2) == set(['dd', 'cc', 'bb'])
Verify exchange exists, create if needed
dataset/ETHPy150Open davidmcclure/textplot/test/text/test_most_frequent_terms.py/test_merge_smallest_bucket--crossover with--dataset/ETHPy150Open gmr/rabbitpy/rabbitpy/amqp.py/AMQP.exchange_declare