def testtextextraction():
 document = opendocx(TEST_FILE)
 paratextlist = getdocumenttext(document)
 assert (len(paratextlist) > 0)

def testtextextraction ( ) : document = opendocx ( TEST_FILE ) paratextlist = getdocumenttext ( document ) assert ( len ( paratextlist ) > 0 )
ensure text can be pulled out of a document .