@@ -41,7 +41,7 @@ def test_dublincorejson_serializer(running_app, updated_full_record):
41
41
"""Test serializer to Dublin Core JSON"""
42
42
expected_data = {
43
43
"contributors" : ["Nielsen, Lars Holm" ],
44
- "types" : ["info:eu-repo/semantic /other" ],
44
+ "types" : ["info:eu-repo/semantics /other" ],
45
45
"relations" : [
46
46
"https://doi.org/10.1234/foo.bar" ,
47
47
"https://doi.org/10.1234/inveniordm.1234.parent" ,
@@ -83,7 +83,7 @@ def test_dublincorejson_serializer(running_app, updated_full_record):
83
83
def test_dublincorejson_serializer_minimal (running_app , updated_minimal_record ):
84
84
"""Test serializer to Dublin Core JSON with minimal record"""
85
85
expected_data = {
86
- "types" : ["info:eu-repo/semantic /other" ],
86
+ "types" : ["info:eu-repo/semantics /other" ],
87
87
"titles" : ["A Romans story" ],
88
88
"creators" : ["Name" , "Troy Inc." ],
89
89
"dates" : ["2020-06-01" ],
@@ -128,7 +128,7 @@ def test_dublincorexml_serializer(running_app, updated_full_record):
128
128
"<dc:rights>Creative Commons Attribution 4.0 " + "International</dc:rights>" ,
129
129
"<dc:rights>https://creativecommons.org/licenses/by/4.0/legalcode</dc:rights>" ,
130
130
"<dc:title>InvenioRDM</dc:title>" ,
131
- "<dc:type>info:eu-repo/semantic /other</dc:type>" ,
131
+ "<dc:type>info:eu-repo/semantics /other</dc:type>" ,
132
132
]
133
133
134
134
serializer = DublinCoreXMLSerializer ()
@@ -145,7 +145,7 @@ def test_dublincorexml_serializer_minimal(running_app, updated_minimal_record):
145
145
"<dc:date>2020-06-01</dc:date>" ,
146
146
"<dc:rights>info:eu-repo/semantics/openAccess</dc:rights>" ,
147
147
"<dc:title>A Romans story</dc:title>" ,
148
- "<dc:type>info:eu-repo/semantic /other</dc:type>" ,
148
+ "<dc:type>info:eu-repo/semantics /other</dc:type>" ,
149
149
]
150
150
151
151
serializer = DublinCoreXMLSerializer ()
@@ -178,7 +178,7 @@ def test_dublincorexml_serializer_list(
178
178
"<dc:rights>Creative Commons Attribution 4.0 " + "International</dc:rights>" ,
179
179
"<dc:rights>https://creativecommons.org/licenses/by/4.0/legalcode</dc:rights>" ,
180
180
"<dc:title>InvenioRDM</dc:title>" ,
181
- "<dc:type>info:eu-repo/semantic /other</dc:type>" ,
181
+ "<dc:type>info:eu-repo/semantics /other</dc:type>" ,
182
182
]
183
183
184
184
expected_data_minimal = [
@@ -187,7 +187,7 @@ def test_dublincorexml_serializer_list(
187
187
"<dc:date>2020-06-01</dc:date>" ,
188
188
"<dc:rights>info:eu-repo/semantics/openAccess</dc:rights>" ,
189
189
"<dc:title>A Romans story</dc:title>" ,
190
- "<dc:type>info:eu-repo/semantic /other</dc:type>" ,
190
+ "<dc:type>info:eu-repo/semantics /other</dc:type>" ,
191
191
]
192
192
193
193
serializer = DublinCoreXMLSerializer ()
0 commit comments