aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_transform.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-11-10 16:52:23 -0800
committerBryan Newbold <bnewbold@archive.org>2021-11-10 16:52:23 -0800
commit08d0cec7391708b15db2b581cf707a39fb1308d9 (patch)
treec24912777388d388cdf050086793259e42924816 /tests/test_transform.py
parentc164970449a392b5165d903d213c2bb51f2a187f (diff)
downloadfatcat-scholar-08d0cec7391708b15db2b581cf707a39fb1308d9.tar.gz
fatcat-scholar-08d0cec7391708b15db2b581cf707a39fb1308d9.zip
lint: disallow 'import *' even in tests
Diffstat (limited to 'tests/test_transform.py')
-rw-r--r--tests/test_transform.py14
1 files changed, 11 insertions, 3 deletions
diff --git a/tests/test_transform.py b/tests/test_transform.py
index 4409bf0..fd14533 100644
--- a/tests/test_transform.py
+++ b/tests/test_transform.py
@@ -1,8 +1,16 @@
+import json
+
from fatcat_openapi_client import ReleaseEntity
-from fatcat_scholar.api_entities import *
-from fatcat_scholar.schema import *
-from fatcat_scholar.transform import *
+from fatcat_scholar.api_entities import entity_from_json
+from fatcat_scholar.schema import ScholarBiblio
+from fatcat_scholar.transform import (
+ biblio_metadata_hacks,
+ es_biblio_from_release,
+ es_release_from_release,
+ run_refs,
+ run_transform,
+)
def test_es_release_from_release() -> None: