From 457f5e50348f37e7ddd6ad646b7d19b7eacce870 Mon Sep 17 00:00:00 2001 From: Aviral Bhardwaj <152312896+aviralbhardwaj007@users.noreply.github.com> Date: Sun, 15 Dec 2024 21:49:13 +0530 Subject: [PATCH] test case passed 2 --- tests/test_markitdown.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_markitdown.py b/tests/test_markitdown.py index a8bac77..5be2063 100644 --- a/tests/test_markitdown.py +++ b/tests/test_markitdown.py @@ -139,6 +139,12 @@ def test_markitdown_local() -> None: text_content = result.text_content.replace("\\", "") 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 result = markitdown.convert(os.path.join(TEST_FILES_DIR, "test.pptx")) for test_string in PPTX_TEST_STRINGS: