def test_get_sections(self): fld = Folder() response = fld.upload_file('./data/test_multi_pages.docx') self.assertEqual(response, True) extractor = Extractor('test_multi_pages.docx') response = extractor.get_sections() self.assertEqual(dict, type(response))
def test_get_paragraph_run_font(self): fld = Folder() response = fld.upload_file('./data/test_multi_pages.docx') self.assertEqual(response, True) extractor = Extractor('test_multi_pages.docx') response = extractor.get_paragraph_run_font(0, 0) self.assertEqual(dict, type(response))
def test_get_paragraph_run_font(self): fld = Folder() response = fld.upload_file('./data/test_multi_pages.docx') self.assertEqual(response, True) extractor = Extractor('test_multi_pages.docx') response = extractor.get_paragraph_run_font(0,0) self.assertEqual(dict, type(response))