From 176a96cc3182a64ec8b837704fefb5ffbced8aee Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 13 Sep 2019 14:22:33 -0700 Subject: skip test_crossref_importer_huge() by default --- python/tests/import_crossref.py | 1 + 1 file changed, 1 insertion(+) 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: -- cgit v1.2.3