mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-04-10 14:06:41 +00:00
14 lines
292 B
Python
14 lines
292 B
Python
from unittest import TestCase
|
|
from parsing import DocxParser
|
|
|
|
|
|
class DocxParserTest(TestCase):
|
|
|
|
def test_parse_content(self):
|
|
|
|
parser = DocxParser([], 1000, "test_files/")
|
|
|
|
info = parser.parse("test_files/docx1.docx")
|
|
|
|
self.assertEqual(len(info["content"]), 1000)
|