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