Skip to content

Commit 82b3d5e

Browse files
committed
wip:tests
1 parent 90480c3 commit 82b3d5e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/trove/derive/test_osfmap_json_mini.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,12 @@ class TestOsfmapJsonMiniDeriver(BaseIndexcardDeriverTest):
154154
},
155155
'osfmap-registration': {
156156
"@id": "https://osf.example/2c4st",
157+
"accessService": [{
158+
"@id": "https://osf.example",
159+
"identifier": [{"@value": "https://osf.example"}],
160+
"name": [{"@value": "OSF"}],
161+
"resourceType": [{"@id": "Agent"}, {"@id": "Organization"}],
162+
}],
157163
"resourceType": [
158164
{"@id": "Registration"}
159165
],
@@ -455,6 +461,10 @@ class TestOsfmapJsonMiniDeriver(BaseIndexcardDeriverTest):
455461
]
456462
}
457463
],
464+
"qualifiedAttribution": [{
465+
"agent": [{"@id": "https://osf.example/bhcjn"}],
466+
"hadRole": [{"@id": "osf:admin-contributor"}],
467+
}],
458468
"archivedAt": [
459469
{"@id": "https://archive.example/details/osf-registrations-2c4st-v1"}
460470
],

0 commit comments

Comments
 (0)