Skip to content

Commit 3a64bb3

Browse files
committed
wip:tests
1 parent 90480c3 commit 3a64bb3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/trove/derive/test_osfmap_json_mini.py

Lines changed: 8 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
],
@@ -244,6 +250,8 @@ class TestOsfmapJsonMiniDeriver(BaseIndexcardDeriverTest):
244250
]
245251
}
246252
],
253+
"qualifiedAttribution": [{"agent": [{"@id": "https://osf.example/bhcjn"}],
254+
"hadRole": [{"@id": "osf:admin-contributor"}]}],
247255
"dateCopyrighted": [
248256
{"@value": "2021"}
249257
],

0 commit comments

Comments
 (0)