summaryrefslogtreecommitdiffstats
path: root/python/tests/files
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-01-09 15:02:17 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-01-09 15:02:17 +0100
commitffd2597d5e962e3f3a2ea23c66a135bb737b2390 (patch)
tree382644d68497c3f485e77028f060bb746bfbb947 /python/tests/files
parent8eab14ac12b17f4965ec5569853bf885ca6aacd2 (diff)
downloadfatcat-ffd2597d5e962e3f3a2ea23c66a135bb737b2390.tar.gz
fatcat-ffd2597d5e962e3f3a2ea23c66a135bb737b2390.zip
datacite: improve license_slug handling
Diffstat (limited to 'python/tests/files')
-rw-r--r--python/tests/files/datacite/datacite_result_00.json3
-rw-r--r--python/tests/files/datacite/datacite_result_16.json1
2 files changed, 3 insertions, 1 deletions
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",