From f59b198ffb490b2d29c68a471b8932c94e9e5dd3 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 31 Aug 2022 18:02:22 +0200 Subject: [PATCH] fetch right class --- changedetectionio/tests/test_ignore_text.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/changedetectionio/tests/test_ignore_text.py b/changedetectionio/tests/test_ignore_text.py index 8069d71f..eeb3bc0d 100644 --- a/changedetectionio/tests/test_ignore_text.py +++ b/changedetectionio/tests/test_ignore_text.py @@ -23,7 +23,9 @@ def test_strip_text_func(): ignore_lines = ["sometimes"] - fetcher = fetch_site_status.perform_site_check(datastore=False) + from ..fetch_processor import json_html_plaintext + + fetcher = json_html_plaintext.perform_site_check(datastore=False) stripped_content = html_tools.strip_ignore_text(test_content, ignore_lines) assert b"sometimes" not in stripped_content