Skip to content

Commit dc27453

Browse files
update pytest
1 parent afcd309 commit dc27453

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

tests/abox/json_custom_relations/test_json_custom_relations.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
"material": "material_2",
4747
"kitem": ["kitem_2", "kitem_3"],
4848
},
49+
{
50+
"name": "specimen_3",
51+
"youngs_modulus": [300, 400],
52+
"material": "material_3",
53+
"kitem": "kitem_4",
54+
},
4955
]
5056
}
5157

@@ -105,12 +111,22 @@
105111
ns1:hasYoungsModulus <https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#YoungsModulus_specimen_2> ;
106112
ns1:hasKitem <https://w3id.org/steel/ProcessOntology/Kitem/kitem_2>, <https://w3id.org/steel/ProcessOntology/Kitem/kitem_3> .
107113
114+
<https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#specimen_3> a ns1:Specimen ;
115+
ns1:hasIdentifier "specimen_3"^^xsd:string ;
116+
ns1:hasMaterial <https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#Material_specimen_3> ;
117+
ns1:hasYoungsModulus <https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#YoungsModulus_specimen_3> ;
118+
ns1:hasKitem <https://w3id.org/steel/ProcessOntology/Kitem/kitem_4> .
119+
120+
108121
<https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#Material_specimen_1> a ns1:Material ;
109122
ns1:hasIdentifier "material_1"^^xsd:string .
110123
111124
<https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#Material_specimen_2> a ns1:Material ;
112125
ns1:hasIdentifier "material_2"^^xsd:string .
113126
127+
<https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#Material_specimen_3> a ns1:Material ;
128+
ns1:hasIdentifier "material_3"^^xsd:string .
129+
114130
<https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#YoungsModulus_specimen_1> a ns1:YoungsModulus ;
115131
ns2:hasUnit "http://qudt.org/vocab/unit/GigaPA"^^xsd:anyURI ;
116132
ns2:value 100 .
@@ -119,7 +135,9 @@
119135
ns2:hasUnit "http://qudt.org/vocab/unit/GigaPA"^^xsd:anyURI ;
120136
ns2:value "200-300"^^xsd:string .
121137
122-
138+
<https://w3id.org/emmo/domain/domain-nanoindentation/nanoindentation#YoungsModulus_specimen_3> a ns1:YoungsModulus ;
139+
ns2:hasUnit "http://qudt.org/vocab/unit/GigaPA"^^xsd:anyURI ;
140+
ns2:value 300, 400 .
123141
"""
124142

125143
EXPECTED = """

0 commit comments

Comments
 (0)