Skip to content

Commit 6e5a54c

Browse files
committed
correction test
1 parent 1070058 commit 6e5a54c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

pipeline/tests/test_collections.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
import os.path
66
import shutil
7+
import json
78

89
from openminds.collection import Collection
910
import 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
}

0 commit comments

Comments
 (0)