From 811a18ef7609d49d97aba3d61d359da979100246 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Fri, 11 Jun 2021 22:26:28 +0200 Subject: datacite: more careful title string access; fixes sentry #88350 Caused by a partial "title entry without title" coming *first* (e.g. just holding, e.g. a language, like: {'lang': 'da'} --- python/tests/import_datacite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tests/import_datacite.py') diff --git a/python/tests/import_datacite.py b/python/tests/import_datacite.py index 6bc0e7b8..8b6797ef 100644 --- a/python/tests/import_datacite.py +++ b/python/tests/import_datacite.py @@ -400,7 +400,7 @@ def test_datacite_conversions(datacite_importer): for now. """ datacite_importer.debug = True - for i in range(35): + for i in range(36): src = "tests/files/datacite/datacite_doc_{0:02d}.json".format(i) dst = "tests/files/datacite/datacite_result_{0:02d}.json".format(i) with open(src, "r") as f: -- cgit v1.2.3