def test_docx_to_text(): filename_docx = 'AppBody-Sample-English.docx' text = doc_to_text(path + filename_docx) assert 'a' in text
def test_doc_to_text(): filename_doc = 'cinnamon.doc' text = doc_to_text(path + filename_doc) assert 'a' in text
def test_pdf_to_text(): filename_pdf = 'Wikilinks2012.pdf' text = doc_to_text(path + filename_pdf) assert 'a' in text