test case passed 2
This commit is contained in:
parent
cdea019f9d
commit
457f5e5034
1 changed files with 6 additions and 0 deletions
|
|
@ -139,6 +139,12 @@ def test_markitdown_local() -> None:
|
||||||
text_content = result.text_content.replace("\\", "")
|
text_content = result.text_content.replace("\\", "")
|
||||||
assert test_string in text_content
|
assert test_string in text_content
|
||||||
|
|
||||||
|
# Test DOC processing
|
||||||
|
result = markitdown.convert(os.path.join(TEST_FILES_DIR, "test.doc"))
|
||||||
|
for test_string in DOC_TEST_STRINGS:
|
||||||
|
text_content = result.text_content.replace("\\", "")
|
||||||
|
assert test_string in text_content
|
||||||
|
|
||||||
# Test PPTX processing
|
# Test PPTX processing
|
||||||
result = markitdown.convert(os.path.join(TEST_FILES_DIR, "test.pptx"))
|
result = markitdown.convert(os.path.join(TEST_FILES_DIR, "test.pptx"))
|
||||||
for test_string in PPTX_TEST_STRINGS:
|
for test_string in PPTX_TEST_STRINGS:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue