aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_djvu_parse.py2
-rw-r--r--tests/test_scrub.py2
-rw-r--r--tests/test_transform.py4
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_djvu_parse.py b/tests/test_djvu_parse.py
index 1f23de2..777f8bf 100644
--- a/tests/test_djvu_parse.py
+++ b/tests/test_djvu_parse.py
@@ -2,7 +2,7 @@ import io
from fatcat_scholar.djvu import djvu_extract_leaf_texts
-def test_djvu_extract_leaf_texts():
+def test_djvu_extract_leaf_texts() -> None:
# https://archive.org/details/ERIC_ED441501
with open("tests/files/ERIC_ED441501_djvu.xml", "r") as f:
diff --git a/tests/test_scrub.py b/tests/test_scrub.py
index 692ed64..2cd68cc 100644
--- a/tests/test_scrub.py
+++ b/tests/test_scrub.py
@@ -1,7 +1,7 @@
from fatcat_scholar.schema import *
-def test_scrub():
+def test_scrub() -> None:
vectors = [
(
"“Please clean this piece… of text</b>„",
diff --git a/tests/test_transform.py b/tests/test_transform.py
index 21efa51..e073591 100644
--- a/tests/test_transform.py
+++ b/tests/test_transform.py
@@ -4,7 +4,7 @@ from fatcat_scholar.schema import *
from fatcat_scholar.api_entities import *
-def test_es_release_from_release():
+def test_es_release_from_release() -> None:
with open("tests/files/release_hsmo6p4smrganpb3fndaj2lon4.json", "r") as f:
release = entity_from_json(f.read(), ReleaseEntity)
@@ -17,7 +17,7 @@ def test_es_release_from_release():
assert obj.doi_prefix == "10.7717"
-def test_es_biblio_from_release():
+def test_es_biblio_from_release() -> None:
with open("tests/files/release_hsmo6p4smrganpb3fndaj2lon4.json", "r") as f:
release = entity_from_json(f.read(), ReleaseEntity)