From ffd2597d5e962e3f3a2ea23c66a135bb737b2390 Mon Sep 17 00:00:00 2001 From: Martin Czygan Date: Thu, 9 Jan 2020 15:02:17 +0100 Subject: datacite: improve license_slug handling --- python/tests/files/datacite/datacite_result_00.json | 3 ++- python/tests/files/datacite/datacite_result_16.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'python/tests/files') diff --git a/python/tests/files/datacite/datacite_result_00.json b/python/tests/files/datacite/datacite_result_00.json index 06147cfc..130a46ff 100644 --- a/python/tests/files/datacite/datacite_result_00.json +++ b/python/tests/files/datacite/datacite_result_00.json @@ -87,5 +87,6 @@ "release_type": "article-journal", "release_year": 2019, "title": "Synthesis and Crystal Structure of a Compound with Two Conformational Isomers: N-(2-methylbenzoyl)-N′-(4-nitrophenyl)thiourea", - "volume": "38" + "volume": "38", + "license_slug": "SPRINGER-TDM" } diff --git a/python/tests/files/datacite/datacite_result_16.json b/python/tests/files/datacite/datacite_result_16.json index ad585e3c..ef26c47c 100644 --- a/python/tests/files/datacite/datacite_result_16.json +++ b/python/tests/files/datacite/datacite_result_16.json @@ -24,6 +24,7 @@ "resourceTypeGeneral": "Dataset" } }, + "license_slug": "CC-BY", "publisher": "Figshare", "refs": [], "release_stage": "published", -- cgit v1.2.3