fetch right class

pull/897/head
dgtlmoon 2 years ago
parent 518bdf5a3f
commit f59b198ffb

@ -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

Loading…
Cancel
Save