summaryrefslogtreecommitdiffstats
path: root/tests/test_transform.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-03 23:30:44 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-03 23:30:46 -0700
commit4c90b94c24e9e78382d12947fb27c203318d6c9c (patch)
tree56756e5ff572201369634a5cd90c7e529e032e13 /tests/test_transform.py
parentba7295cdf09c6b2bf288db85e15aa44b6782da06 (diff)
downloadfatcat-scholar-4c90b94c24e9e78382d12947fb27c203318d6c9c.tar.gz
fatcat-scholar-4c90b94c24e9e78382d12947fb27c203318d6c9c.zip
flake8-annotation linting
Added some new annotations; need to finish more.
Diffstat (limited to 'tests/test_transform.py')
-rw-r--r--tests/test_transform.py4
1 files changed, 2 insertions, 2 deletions
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)