diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-12 11:06:06 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-09-12 11:06:06 -0700 |
commit | 722e4321bfa6431136b1e03f0c9e4ac11903c4df (patch) | |
tree | fb688bf672f209616b0f8049b4749cbe8da0d3fa /python/tests/crossref.py | |
parent | 1db3bbe11139cee2034cc3f632d13bcce2c03a89 (diff) | |
download | fatcat-722e4321bfa6431136b1e03f0c9e4ac11903c4df.tar.gz fatcat-722e4321bfa6431136b1e03f0c9e4ac11903c4df.zip |
extid support for crossref importer
Diffstat (limited to 'python/tests/crossref.py')
-rw-r--r-- | python/tests/crossref.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/crossref.py b/python/tests/crossref.py index 402195d7..e9814da2 100644 --- a/python/tests/crossref.py +++ b/python/tests/crossref.py @@ -6,7 +6,7 @@ from fatcat.crossref_importer import FatcatCrossrefImporter @pytest.fixture(scope="function") def crossref_importer(): with open('tests/files/ISSN-to-ISSN-L.snip.txt', 'r') as issn_file: - yield FatcatCrossrefImporter("http://localhost:9411/v0", issn_file) + yield FatcatCrossrefImporter("http://localhost:9411/v0", issn_file, 'tests/files/example_map.sqlite3') def test_crossref_importer_batch(crossref_importer): with open('tests/files/crossref-works.2018-01-21.badsample.json', 'r') as f: |