

def test_mlt_iter(self):
    mlt = MLT(1, self.get_s(), ['tag', 'foo'], min_term_freq=1, min_doc_freq=1)
    eq_(len(list(mlt)), 5)

dataset/ETHPy150Open mozilla/elasticutils/elasticutils/tests/test_mlt.py MoreLikeThisTest.test_mlt_iter/original