From f565e032649b4390e8471b86caccd2d75b5645f9 Mon Sep 17 00:00:00 2001 From: Muspi Merol Date: Sat, 7 Dec 2024 17:48:25 +0800 Subject: [PATCH] fix: pytest requires mark --- .../test_mozilla_readability_transformer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/community/tests/unit_tests/document_transformers/test_mozilla_readability_transformer.py b/libs/community/tests/unit_tests/document_transformers/test_mozilla_readability_transformer.py index eb802885c3fc5..1e552b3a98a26 100644 --- a/libs/community/tests/unit_tests/document_transformers/test_mozilla_readability_transformer.py +++ b/libs/community/tests/unit_tests/document_transformers/test_mozilla_readability_transformer.py @@ -6,7 +6,7 @@ from langchain_community.document_transformers import ReadabilityTransformer -@pytest.mark.requires("python-readability") +@pytest.mark.requires("readability") def test_empty_html() -> None: readability = ReadabilityTransformer() documents = [Document(page_content="")] @@ -14,7 +14,7 @@ def test_empty_html() -> None: assert document.page_content == "", document.page_content -@pytest.mark.requires("python-readability") +@pytest.mark.requires("readability") def test_transform_non_empty_html() -> None: readability = ReadabilityTransformer() documents = [Document(page_content="
123
")]