def METHOD_NAME(self):
    draft = WgDraftFactory(states=[('draft','active')],abstract='a'*20,authors=[PersonFactory()])
    txt = id_index_txt()
    self.assertTrue(draft.name + "-" + draft.rev in txt)
    self.assertTrue(draft.title in txt)
    self.assertTrue(draft.abstract[:20] not in txt)
    txt = id_index_txt(with_abstracts=True)
    self.assertTrue(draft.abstract[:20] in txt)