@@ -158,7 +158,7 @@ def test_rogue_scholar():
158
158
159
159
inveniordm = json .loads (subject .write (to = "inveniordm" ))
160
160
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.53731/dv8z6-a6s33"
161
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
161
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
162
162
assert len (py_ .get (inveniordm , "metadata.creators" )) == 1
163
163
assert py_ .get (inveniordm , "metadata.creators.0" ) == {
164
164
"affiliations" : [
@@ -231,7 +231,7 @@ def test_from_json_feed():
231
231
232
232
inveniordm = json .loads (subject .write (to = "inveniordm" ))
233
233
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.59350/dn2mm-m9q51"
234
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
234
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
235
235
assert len (py_ .get (inveniordm , "metadata.creators" )) == 1
236
236
assert py_ .get (inveniordm , "metadata.creators.0" ) == {
237
237
"person_or_org" : {
@@ -298,7 +298,7 @@ def test_from_json_feed_affiliations():
298
298
299
299
inveniordm = json .loads (subject .write (to = "inveniordm" ))
300
300
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.59350/mg09a-5ma64"
301
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
301
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
302
302
assert len (py_ .get (inveniordm , "metadata.creators" )) == 4
303
303
assert py_ .get (inveniordm , "metadata.creators.0" ) == {
304
304
"person_or_org" : {
@@ -381,7 +381,7 @@ def test_from_json_feed_dates():
381
381
382
382
inveniordm = json .loads (subject .write (to = "inveniordm" ))
383
383
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.59350/k9zxj-pek64"
384
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
384
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
385
385
assert py_ .get (inveniordm , "metadata.publication_date" ) == "2018-08-28"
386
386
assert py_ .get (inveniordm , "metadata.dates" ) == [
387
387
{
@@ -411,7 +411,7 @@ def test_from_json_feed_funding():
411
411
412
412
inveniordm = json .loads (subject .write (to = "inveniordm" ))
413
413
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.59350/hnegw-6rx17"
414
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
414
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
415
415
assert py_ .get (inveniordm , "metadata.title" ) == "THOR Final Event programme is out!"
416
416
assert py_ .get (inveniordm , "metadata.funding" ) == [
417
417
{
@@ -438,7 +438,7 @@ def test_from_json_feed_more_funding():
438
438
439
439
inveniordm = json .loads (subject .write (to = "inveniordm" ))
440
440
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.59350/m99dx-x9g53"
441
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
441
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
442
442
assert (
443
443
py_ .get (inveniordm , "metadata.title" ) == "Summer Meeting of the Editorial Board"
444
444
)
@@ -472,7 +472,7 @@ def test_from_json_feed_references():
472
472
assert (
473
473
py_ .get (inveniordm , "pids.doi.identifier" ) == "10.53731/r79v4e1-97aq74v-ag578"
474
474
)
475
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
475
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
476
476
assert (
477
477
py_ .get (inveniordm , "metadata.title" )
478
478
== "Differences between ORCID and DataCite Metadata"
@@ -518,7 +518,7 @@ def test_from_json_feed_unstructured_references():
518
518
assert (
519
519
py_ .get (inveniordm , "pids.doi.identifier" ) == "10.59350/27ewm-zn378"
520
520
)
521
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
521
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
522
522
assert (
523
523
py_ .get (inveniordm , "metadata.title" )
524
524
== "To what extent is science a strong-link problem?"
@@ -542,7 +542,7 @@ def test_from_json_feed_relations():
542
542
543
543
inveniordm = json .loads (subject .write (to = "inveniordm" ))
544
544
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.54900/zg929-e9595"
545
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
545
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
546
546
assert py_ .get (inveniordm , "metadata.title" ) == "Large Language Publishing"
547
547
related_identifiers = py_ .get (inveniordm , "metadata.related_identifiers" )
548
548
assert len (related_identifiers ) == 1
@@ -570,7 +570,7 @@ def test_from_json_feed_broken_reference():
570
570
571
571
inveniordm = json .loads (subject .write (to = "inveniordm" ))
572
572
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.59350/z78kb-qrz59"
573
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
573
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
574
574
assert (
575
575
py_ .get (inveniordm , "metadata.title" )
576
576
== "2024 mpox outbreak: common analytics tasks and available R tools"
@@ -594,7 +594,7 @@ def test_external_doi():
594
594
595
595
inveniordm = json .loads (subject .write (to = "inveniordm" ))
596
596
assert py_ .get (inveniordm , "pids.doi.identifier" ) == "10.57689/dini-blog.20210712"
597
- assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-preprint "
597
+ assert py_ .get (inveniordm , "metadata.resource_type.id" ) == "publication-blogpost "
598
598
assert (
599
599
py_ .get (inveniordm , "metadata.title" )
600
600
== "Eine Musterdienstvereinbarung fürs FIS – ein Beispiel der TIB"
0 commit comments