From 8fe6ca0055888a007597609b0c1ee228f9b8c4d1 Mon Sep 17 00:00:00 2001 From: Ryan Parker <93606249+rparkr@users.noreply.github.com> Date: Wed, 4 Dec 2024 21:18:53 +0000 Subject: [PATCH] Fix CI unit test failures - Fix more unit tests failures related to trailing spaces --- .../unit_tests/document_transformers/test_markdownify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/community/tests/unit_tests/document_transformers/test_markdownify.py b/libs/community/tests/unit_tests/document_transformers/test_markdownify.py index 5b389fa8651eb..1ce407289dd4a 100644 --- a/libs/community/tests/unit_tests/document_transformers/test_markdownify.py +++ b/libs/community/tests/unit_tests/document_transformers/test_markdownify.py @@ -115,7 +115,7 @@ def test_convert_tags() -> None: documents = [Document(page_content=paragraphs_html)] docs_transformed = markdownify.transform_documents(documents) assert docs_transformed[0].page_content == ( - "Header\n\n " + "Header " "1st paragraph.\n\n " "2nd paragraph. Here is link\n\n " "Ignore at end" @@ -251,7 +251,7 @@ async def test_convert_tags_async() -> None: documents = [Document(page_content=paragraphs_html)] docs_transformed = await markdownify.atransform_documents(documents) assert docs_transformed[0].page_content == ( - "Header\n\n " + "Header " "1st paragraph.\n\n " "2nd paragraph. Here is link\n\n " "Ignore at end"