diff options
Diffstat (limited to 'python/tests/issn.py')
-rw-r--r-- | python/tests/issn.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/python/tests/issn.py b/python/tests/issn.py deleted file mode 100644 index 76c8aecb..00000000 --- a/python/tests/issn.py +++ /dev/null @@ -1,17 +0,0 @@ - -import pytest -from fatcat_tools.issn_importer import FatcatIssnImporter - - -@pytest.fixture(scope="function") -def issn_importer(): - yield FatcatIssnImporter("http://localhost:9411/v0") - -# TODO: use API to check that entities actually created... -def test_issn_importer_batch(issn_importer): - with open('tests/files/journal_extra_metadata.snip.csv', 'r') as f: - issn_importer.process_csv_batch(f) - -def test_issn_importer(issn_importer): - with open('tests/files/journal_extra_metadata.snip.csv', 'r') as f: - issn_importer.process_csv_source(f) |