diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-13 14:22:33 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-09-13 14:22:33 -0700 |
commit | 176a96cc3182a64ec8b837704fefb5ffbced8aee (patch) | |
tree | 2aec6bbf2b47ff2aba536e3921ac34c1da56e59c /python/tests/import_crossref.py | |
parent | 4275c76d32f28f366cb3f585e3f8d5f40b31da6c (diff) | |
download | fatcat-176a96cc3182a64ec8b837704fefb5ffbced8aee.tar.gz fatcat-176a96cc3182a64ec8b837704fefb5ffbced8aee.zip |
skip test_crossref_importer_huge() by default
Diffstat (limited to 'python/tests/import_crossref.py')
-rw-r--r-- | python/tests/import_crossref.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/tests/import_crossref.py b/python/tests/import_crossref.py index 866b4a83..3954abe2 100644 --- a/python/tests/import_crossref.py +++ b/python/tests/import_crossref.py @@ -15,6 +15,7 @@ def crossref_importer_existing(api): with open('tests/files/ISSN-to-ISSN-L.snip.txt', 'r') as issn_file: yield CrossrefImporter(api, issn_file, extid_map_file='tests/files/example_map.sqlite3', bezerk_mode=False) +@pytest.mark.skip(reason="slow/huge crossref import is a corner-case and slows tests significantly") def test_crossref_importer_huge(crossref_importer): last_index = crossref_importer.api.get_changelog(limit=1)[0].index with gzip.open('tests/files/huge_crossref_doi.json.gz', 'rt') as f: |