diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-22 22:04:39 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-22 22:04:39 -0800 |
commit | e0f70bbbcbcb6232cfb508ad5c0ae637391c4871 (patch) | |
tree | 7d7c83a04a3776754476b123d70e23dfa6cf297d /python/tests/transform_tests.py | |
parent | 09475b87821142c5cd36c6b90fb97deb2a058312 (diff) | |
download | fatcat-e0f70bbbcbcb6232cfb508ad5c0ae637391c4871.tar.gz fatcat-e0f70bbbcbcb6232cfb508ad5c0ae637391c4871.zip |
refactor remaining importers
Diffstat (limited to 'python/tests/transform_tests.py')
-rw-r--r-- | python/tests/transform_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/transform_tests.py b/python/tests/transform_tests.py index e9d23250..6d6c6c82 100644 --- a/python/tests/transform_tests.py +++ b/python/tests/transform_tests.py @@ -11,7 +11,7 @@ def test_elasticsearch_convert(crossref_importer): with open('tests/files/crossref-works.single.json', 'r') as f: # not a single line raw = json.loads(f.read()) - (r, c) = crossref_importer.parse_crossref_dict(raw) + r = crossref_importer.parse_record(raw) r.state = 'active' release_to_elasticsearch(r) |