aboutsummaryrefslogtreecommitdiffstats
path: root/python/tests/files/datacite/datacite_result_32.json
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-04-22 22:25:36 +0200
committerMartin Czygan <martin.czygan@gmail.com>2020-04-22 22:25:36 +0200
commite0baeade7924019c5bbd27d9a7c116a1e26854fc (patch)
tree866ef4e21dc03b524b7db497eae1b31bbd099c42 /python/tests/files/datacite/datacite_result_32.json
parent5576efabea5c3e5db1a8b57aef3dc4b4006dd46c (diff)
downloadfatcat-e0baeade7924019c5bbd27d9a7c116a1e26854fc.tar.gz
fatcat-e0baeade7924019c5bbd27d9a7c116a1e26854fc.zip
datacite: fix type error
Up to now, we expected the description to be a string or list. Add handling for int as well. First appeared: Apr 22 19:58:39.
Diffstat (limited to 'python/tests/files/datacite/datacite_result_32.json')
-rw-r--r--python/tests/files/datacite/datacite_result_32.json23
1 files changed, 23 insertions, 0 deletions
diff --git a/python/tests/files/datacite/datacite_result_32.json b/python/tests/files/datacite/datacite_result_32.json
new file mode 100644
index 00000000..1a84a043
--- /dev/null
+++ b/python/tests/files/datacite/datacite_result_32.json
@@ -0,0 +1,23 @@
+{
+ "abstracts": [
+ {
+ "content": "1234567890",
+ "mimetype": "text/plain"
+ }
+ ],
+ "contribs": [],
+ "ext_ids": {
+ "doi": "10.17912/micropub.biology.000143"
+ },
+ "extra": {
+ "datacite": {
+ "resourceTypeGeneral": "DataPaper"
+ },
+ "container_name": "microPublication Biology"
+ },
+ "refs": [],
+ "release_stage": "published",
+ "release_year": 2019,
+ "publisher": "microPublication Biology",
+ "title": "Sample"
+}