diff options
author | Martin Czygan <martin@archive.org> | 2020-01-31 18:21:23 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2020-01-31 18:21:23 +0000 |
commit | dbdff6d01c52666dd51040979398aa11b2288faa (patch) | |
tree | 2ad300c922131bfb01f4cd414541408b6388e9d8 /python/tests/import_datacite.py | |
parent | 55a4f211532c93d8164b0d4719dc0413005941ea (diff) | |
parent | 4c9208fa61ee8eeaebddd65f641926b540818342 (diff) | |
download | fatcat-dbdff6d01c52666dd51040979398aa11b2288faa.tar.gz fatcat-dbdff6d01c52666dd51040979398aa11b2288faa.zip |
Merge branch 'martin-datacite-micropub' into 'master'
datacite: improve date handling and minor tweak
See merge request webgroup/fatcat!24
Diffstat (limited to 'python/tests/import_datacite.py')
-rw-r--r-- | python/tests/import_datacite.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/python/tests/import_datacite.py b/python/tests/import_datacite.py index 669a6984..15650375 100644 --- a/python/tests/import_datacite.py +++ b/python/tests/import_datacite.py @@ -287,10 +287,9 @@ def test_datacite_conversions(datacite_importer): for now. """ datacite_importer.debug = True - for i in range(30): + for i in range(31): src = 'tests/files/datacite/datacite_doc_{0:02d}.json'.format(i) dst = 'tests/files/datacite/datacite_result_{0:02d}.json'.format(i) - print('testing mapping from {} => {}'.format(src, dst)) with open(src, 'r') as f: re = datacite_importer.parse_record(json.load(f)) result = entity_to_dict(re) |