File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 44
55import os .path
66import shutil
7+ import json
78
89from openminds .collection import Collection
910import openminds .latest .controlled_terms
@@ -95,30 +96,30 @@ def test_collection_sort_by_id():
9596 os .remove ("test_collection_sort_by_id.jsonld" )
9697
9798 expected_saved_data = {
98- "@context" : {"@vocab" : "https://openminds.ebrains.eu/vocab /" },
99+ "@context" : {"@vocab" : "https://openminds.om-i.org/props /" },
99100 "@graph" : [
100101 {
101102 "@id" : "_:001" ,
102- "@type" : "https://openminds.ebrains.eu/core /Organization" ,
103+ "@type" : "https://openminds.om-i.org/types /Organization" ,
103104 "fullName" : "University of That Place"
104105 },
105106 {
106107 "@id" : "_:002" ,
107- "@type" : "https://openminds.ebrains.eu/core /Organization" ,
108+ "@type" : "https://openminds.om-i.org/types /Organization" ,
108109 "fullName" : "University of This Place"
109110 },
110111 {
111112 "@id" : "_:004" ,
112- "@type" : "https://openminds.ebrains.eu/core /Person" ,
113+ "@type" : "https://openminds.om-i.org/types /Person" ,
113114 "affiliation" : [
114115 {
115- "@type" : "https://openminds.ebrains.eu/core /Affiliation" ,
116+ "@type" : "https://openminds.om-i.org/types /Affiliation" ,
116117 "memberOf" : {
117118 "@id" : "_:002"
118119 }
119120 },
120121 {
121- "@type" : "https://openminds.ebrains.eu/core /Affiliation" ,
122+ "@type" : "https://openminds.om-i.org/types /Affiliation" ,
122123 "memberOf" : {
123124 "@id" : "_:001"
124125 }
You can’t perform that action at this time.
0 commit comments