From f1c00144d3bec1389c3e046deb190e0d4083cc34 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 3 Jun 2021 10:58:29 -0700 Subject: dblp tests: skip redundant seek(0) --- python/tests/import_dblp.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/python/tests/import_dblp.py b/python/tests/import_dblp.py index 340e6237..13a52247 100644 --- a/python/tests/import_dblp.py +++ b/python/tests/import_dblp.py @@ -12,11 +12,6 @@ def dblp_importer(api): with open('tests/files/dblp_container_map.tsv', 'r') as tsv_file: yield DblpReleaseImporter(api, tsv_file, bezerk_mode=True) -@pytest.fixture(scope="function") -def dblp_importer_existing(api): - with open('tests/files/dblp_container_map.tsv', 'r') as tsv_file: - yield DblpReleaseImporter(api, tsv_file, bezerk_mode=False) - @pytest.fixture(scope="function") def dblp_container_importer(api): with open('tests/files/dblp_container_map.tsv', 'r') as tsv_file: @@ -98,7 +93,7 @@ def test_dblp_container_importer(dblp_container_importer): last_index = dblp_container_importer.api.get_changelog(limit=1)[0].index output_tsv_map.seek(0) #print(output_tsv_map.read()) - output_tsv_map.seek(0) + #output_tsv_map.seek(0) with open('tests/files/example_dblp_containers.json', 'r') as f: dblp_container_importer.reset() dblp_container_importer.bezerk_mode = False -- cgit v1.2.3