@@ -104,9 +104,9 @@ def test_write_missing_aas_objects(self):
104104 # try to write non-existing object
105105 writer .write_aas_objects (
106106 "/aasx/selection.xml" ,
107- ["https://acplt .org/Test_AssetAdministrationShell" ,
107+ ["https://example .org/Test_AssetAdministrationShell" ,
108108 "http://false-identifier.org/" ,
109- "http://acplt .org/Submodels/Assets/TestAsset/Identification" ],
109+ "http://example .org/Submodels/Assets/TestAsset/Identification" ],
110110 data , aasx .DictSupplementaryFileContainer ()
111111 )
112112
@@ -191,15 +191,15 @@ def test_write_non_aas(self) -> None:
191191 with self .assertLogs (level = "WARNING" ) as log :
192192 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = True ) as writer :
193193 # try to write a non AAS object
194- writer .write_aas ("https://acplt .org/Test_Submodel" , data , file_store )
195- self .assertIn ("Skipping AAS https://acplt .org/Test_Submodel" , log .output [0 ])
194+ writer .write_aas ("https://example .org/Test_Submodel" , data , file_store )
195+ self .assertIn ("Skipping AAS https://example .org/Test_Submodel" , log .output [0 ])
196196
197197 # assert exception is rose in non-failsafe mode
198198 with self .assertRaises (TypeError ) as cm :
199199 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = False ) as writer :
200200 # try to write a non AAS object
201- writer .write_aas ("https://acplt .org/Test_Submodel" , data , file_store )
202- self .assertIn ("Identifier https://acplt .org/Test_Submodel does not belong "
201+ writer .write_aas ("https://example .org/Test_Submodel" , data , file_store )
202+ self .assertIn ("Identifier https://example .org/Test_Submodel does not belong "
203203 "to an AssetAdministrationShell" , cm .exception .args [0 ])
204204
205205 def test_write_aas_missing_submodel (self ) -> None :
@@ -219,13 +219,13 @@ def test_write_aas_missing_submodel(self) -> None:
219219 # assert warning is present in failsafe mode
220220 with self .assertLogs (level = "WARNING" ) as log :
221221 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = True ) as writer :
222- writer .write_aas ("https://acplt .org/Test_AssetAdministrationShell" , data , empty_file_store )
222+ writer .write_aas ("https://example .org/Test_AssetAdministrationShell" , data , empty_file_store )
223223 self .assertIn ("Could not find Submodel" , log .output [0 ])
224224
225225 # assert exception is rose in non-failsafe mode
226226 with self .assertRaises (KeyError ) as cm :
227227 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = False ) as writer :
228- writer .write_aas ("https://acplt .org/Test_AssetAdministrationShell" , data , empty_file_store )
228+ writer .write_aas ("https://example .org/Test_AssetAdministrationShell" , data , empty_file_store )
229229 self .assertIn ("Could not find Submodel" , cm .exception .args [0 ])
230230
231231 def test_write_aas_missing_concept_description (self ) -> None :
@@ -248,15 +248,15 @@ def test_write_aas_missing_concept_description(self) -> None:
248248 # assert warning is present in failsafe mode
249249 with self .assertLogs (level = "WARNING" ) as log :
250250 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = True ) as writer :
251- writer .write_aas ("https://acplt .org/Test_AssetAdministrationShell" , data , file_store )
252- self .assertIn ("https://acplt .org/Test_ConceptDescription" , log .output [0 ])
251+ writer .write_aas ("https://example .org/Test_AssetAdministrationShell" , data , file_store )
252+ self .assertIn ("https://example .org/Test_ConceptDescription" , log .output [0 ])
253253 self .assertRegex (log .output [0 ], "ConceptDescription .* not found" )
254254
255255 # assert exception is rose in non-failsafe mode
256256 with self .assertRaises (KeyError ) as cm :
257257 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = False ) as writer :
258- writer .write_aas ("https://acplt .org/Test_AssetAdministrationShell" , data , file_store )
259- self .assertIn ("https://acplt .org/Test_ConceptDescription" , cm .exception .args [0 ])
258+ writer .write_aas ("https://example .org/Test_AssetAdministrationShell" , data , file_store )
259+ self .assertIn ("https://example .org/Test_ConceptDescription" , cm .exception .args [0 ])
260260 self .assertRegex (cm .exception .args [0 ], "ConceptDescription .* not found" )
261261
262262 def test_write_aas_false_semantic_id (self ) -> None :
@@ -267,12 +267,12 @@ def test_write_aas_false_semantic_id(self) -> None:
267267 # semanticId of submodel holds reference to an object
268268 # that is no ContentDescription
269269 second_submodel = model .Submodel (
270- id_ = "https://acplt .org/Second_Submodel"
270+ id_ = "https://example .org/Second_Submodel"
271271 )
272272 submodel = model .Submodel (
273- id_ = "https://acplt .org/Test_Submodel" ,
273+ id_ = "https://example .org/Test_Submodel" ,
274274 semantic_id = model .ModelReference (
275- key = (model .Key (type_ = model .KeyTypes .SUBMODEL , value = "https://acplt .org/Second_Submodel" ),),
275+ key = (model .Key (type_ = model .KeyTypes .SUBMODEL , value = "https://example .org/Second_Submodel" ),),
276276 type_ = model .ConceptDescription
277277 )
278278 )
@@ -288,13 +288,13 @@ def test_write_aas_false_semantic_id(self) -> None:
288288 # assert warning is present in failsafe mode
289289 with self .assertLogs (level = "WARNING" ) as log :
290290 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = True ) as writer :
291- writer .write_aas ("https://acplt .org/Test_AssetAdministrationShell" , data , empty_file_store )
291+ writer .write_aas ("https://example .org/Test_AssetAdministrationShell" , data , empty_file_store )
292292 self .assertIn ("which is not a ConceptDescription" , log .output [0 ])
293293
294294 # assert exception is rose in non-failsafe mode
295295 with self .assertRaises (TypeError ) as cm :
296296 with aasx .AASXWriter (tmpdir_path / "tmp.aasx" , failsafe = False ) as writer :
297- writer .write_aas ("https://acplt .org/Test_AssetAdministrationShell" , data , empty_file_store )
297+ writer .write_aas ("https://example .org/Test_AssetAdministrationShell" , data , empty_file_store )
298298 self .assertIn ("which is not a ConceptDescription" , cm .exception .args [0 ])
299299
300300 def test_write_core_properties_twice (self ) -> None :
0 commit comments