aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/test_html_ingest.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/test_html_ingest.py')
-rw-r--r--python/tests/test_html_ingest.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/python/tests/test_html_ingest.py b/python/tests/test_html_ingest.py
index e6e48ac..ba4acf1 100644
--- a/python/tests/test_html_ingest.py
+++ b/python/tests/test_html_ingest.py
@@ -1,14 +1,10 @@
-
-import datetime
-import pytest
-
-from sandcrawler.html_ingest import *
+from sandcrawler.ingest_html import *
def test_html_extract_ojs3() -> None:
- with open('tests/files/first_monday_ojs3_fulltext.html', 'rb') as f:
+ with open("tests/files/first_monday_ojs3_fulltext.html", "rb") as f:
ojs3_html = f.read()
fulltext = html_extract_body_teixml(ojs3_html)
- assert fulltext['status'] == 'success'
+ assert fulltext["status"] == "success"