aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/transform_ingest.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-01 18:35:37 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-01 18:35:37 -0700
commitce37bdcd382c857383aad219de53d2432c07f1e7 (patch)
tree9dd1b9421f7650358acab4e9d39fb1e33d3bc31d /python/tests/transform_ingest.py
parent30905f1effb33c3ef193d084120aa3fbd75d0b9b (diff)
downloadfatcat-ce37bdcd382c857383aad219de53d2432c07f1e7.tar.gz
fatcat-ce37bdcd382c857383aad219de53d2432c07f1e7.zip
lint (flake8) python test files
Diffstat (limited to 'python/tests/transform_ingest.py')
-rw-r--r--python/tests/transform_ingest.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/python/tests/transform_ingest.py b/python/tests/transform_ingest.py
index 2d5652b8..c7044bc0 100644
--- a/python/tests/transform_ingest.py
+++ b/python/tests/transform_ingest.py
@@ -1,12 +1,12 @@
import json
-import pytest
+
from fatcat_tools.transforms import release_ingest_request
from fatcat_openapi_client import *
from fixtures import api
-
from import_crossref import crossref_importer
+
def test_basic_ingest_release(crossref_importer):
with open('tests/files/crossref-works.single.json', 'r') as f:
# not a single line
@@ -54,4 +54,3 @@ def test_rich_ingest_release():
assert ir['base_url'] == 'https://doi.org/10.123/456'
assert ir['ext_ids']['doi'] == '10.123/456'
assert ir['ext_ids'].get('pmcid') is None
-