Code refactor for fetchers (#1941)

This commit is contained in:
dgtlmoon
2023-11-13 10:42:56 +01:00
committed by GitHub
parent 7c97a5a403
commit c8dcc072c8
12 changed files with 194 additions and 212 deletions

View File

@@ -33,8 +33,6 @@ def test_strip_regex_text_func():
"/not"
]
fetcher = fetch_site_status.perform_site_check(datastore=False)
stripped_content = html_tools.strip_ignore_text(test_content, ignore_lines)
assert b"but 1 lines" in stripped_content