Python tool for converting files and office documents to Markdown.
add test
Josh XT571c5bbc0eb2
diff --git a/tests/test_files/test_files.zip b/tests/test_files/test_files.zipnew file mode 100644index 00000000..ef49dc0dBinary files /dev/null and b/tests/test_files/test_files.zip differdiff --git a/tests/test_markitdown.py b/tests/test_markitdown.pyindex 94fd8862..1b69be51 100644--- a/tests/test_markitdown.py+++ b/tests/test_markitdown.py@@ -144,6 +144,12 @@ def test_markitdown_local() -> None:text_content = result.text_content.replace("\\", "")assert test_string in text_content+ # Test ZIP processing+ result = markitdown.convert(os.path.join(TEST_FILES_DIR, "test_files.zip"))+ for test_string in DOCX_TEST_STRINGS:+ text_content = result.text_content.replace("\\", "")+ assert test_string in text_content+# Test Wikipedia processingresult = markitdown.convert(os.path.join(TEST_FILES_DIR, "test_wikipedia.html"), url=WIKIPEDIA_TEST_URL