AAS HTTP Client Documentation
Loading...
Searching...
No Matches
tests.test_sdk_tools Namespace Reference

Functions

model.Submodel shared_sm ()
 
model.Submodel shared_sm_temp ()
 
model.SubmodelElement shared_sme ()
 
model.SubmodelElementCollection shared_sme_collection ()
 
model.AssetAdministrationShell shared_aas ()
 
 test_001a_add_sm_to_shell (model.AssetAdministrationShell shared_aas, model.Submodel shared_sm)
 
 test_001b_add_sm_to_shell (model.AssetAdministrationShell shared_aas, model.Submodel shared_sm)
 
 test_002a_remove_sm_from_shell (model.AssetAdministrationShell shared_aas, model.Submodel shared_sm_temp)
 
 test_002b_remove_sm_from_shell (model.AssetAdministrationShell shared_aas, model.Submodel shared_sm)
 
 test_003_get_submodel_ids (model.AssetAdministrationShell shared_aas, model.Submodel shared_sm)
 
 test_004a_convert_to_dict (model.AssetAdministrationShell shared_aas)
 
 test_004b_convert_to_dict (model.Submodel shared_sm)
 
 test_004c_convert_to_dict ()
 
 test_005a_convert_to_object (model.AssetAdministrationShell shared_aas)
 
 test_005b_convert_to_object (model.Submodel shared_sm)
 
 test_005c_convert_to_object ()
 
 test_006a_copy (model.AssetAdministrationShell shared_aas)
 
 test_006b_copy (model.Submodel shared_sm)
 
 test_006c_copy (model.SubmodelElement shared_sme)
 
 test_006d_copy (model.SubmodelElementCollection shared_sme_collection)
 

Variables

str SM_ID = "fluid40/sm_sdk_tools_unit_tests"
 
str SHELL_ID = "fluid40/aas_sdk_tools_unit_tests"
 

Function Documentation

◆ shared_aas()

model.AssetAdministrationShell tests.test_sdk_tools.shared_aas ( )

Definition at line 31 of file test_sdk_tools.py.

◆ shared_sm()

model.Submodel tests.test_sdk_tools.shared_sm ( )

Definition at line 11 of file test_sdk_tools.py.

◆ shared_sm_temp()

model.Submodel tests.test_sdk_tools.shared_sm_temp ( )

Definition at line 16 of file test_sdk_tools.py.

◆ shared_sme()

model.SubmodelElement tests.test_sdk_tools.shared_sme ( )

Definition at line 21 of file test_sdk_tools.py.

◆ shared_sme_collection()

model.SubmodelElementCollection tests.test_sdk_tools.shared_sme_collection ( )

Definition at line 26 of file test_sdk_tools.py.

◆ test_001a_add_sm_to_shell()

tests.test_sdk_tools.test_001a_add_sm_to_shell ( model.AssetAdministrationShell  shared_aas,
model.Submodel  shared_sm 
)

Definition at line 36 of file test_sdk_tools.py.

◆ test_001b_add_sm_to_shell()

tests.test_sdk_tools.test_001b_add_sm_to_shell ( model.AssetAdministrationShell  shared_aas,
model.Submodel  shared_sm 
)

Definition at line 46 of file test_sdk_tools.py.

◆ test_002a_remove_sm_from_shell()

tests.test_sdk_tools.test_002a_remove_sm_from_shell ( model.AssetAdministrationShell  shared_aas,
model.Submodel  shared_sm_temp 
)

Definition at line 53 of file test_sdk_tools.py.

◆ test_002b_remove_sm_from_shell()

tests.test_sdk_tools.test_002b_remove_sm_from_shell ( model.AssetAdministrationShell  shared_aas,
model.Submodel  shared_sm 
)

Definition at line 60 of file test_sdk_tools.py.

◆ test_003_get_submodel_ids()

tests.test_sdk_tools.test_003_get_submodel_ids ( model.AssetAdministrationShell  shared_aas,
model.Submodel  shared_sm 
)

Definition at line 67 of file test_sdk_tools.py.

◆ test_004a_convert_to_dict()

tests.test_sdk_tools.test_004a_convert_to_dict ( model.AssetAdministrationShell  shared_aas)

Definition at line 80 of file test_sdk_tools.py.

◆ test_004b_convert_to_dict()

tests.test_sdk_tools.test_004b_convert_to_dict ( model.Submodel  shared_sm)

Definition at line 93 of file test_sdk_tools.py.

◆ test_004c_convert_to_dict()

tests.test_sdk_tools.test_004c_convert_to_dict ( )

Definition at line 106 of file test_sdk_tools.py.

◆ test_005a_convert_to_object()

tests.test_sdk_tools.test_005a_convert_to_object ( model.AssetAdministrationShell  shared_aas)

Definition at line 114 of file test_sdk_tools.py.

◆ test_005b_convert_to_object()

tests.test_sdk_tools.test_005b_convert_to_object ( model.Submodel  shared_sm)

Definition at line 126 of file test_sdk_tools.py.

◆ test_005c_convert_to_object()

tests.test_sdk_tools.test_005c_convert_to_object ( )

Definition at line 138 of file test_sdk_tools.py.

◆ test_006a_copy()

tests.test_sdk_tools.test_006a_copy ( model.AssetAdministrationShell  shared_aas)

Definition at line 145 of file test_sdk_tools.py.

◆ test_006b_copy()

tests.test_sdk_tools.test_006b_copy ( model.Submodel  shared_sm)

Definition at line 155 of file test_sdk_tools.py.

◆ test_006c_copy()

tests.test_sdk_tools.test_006c_copy ( model.SubmodelElement  shared_sme)

Definition at line 165 of file test_sdk_tools.py.

◆ test_006d_copy()

tests.test_sdk_tools.test_006d_copy ( model.SubmodelElementCollection  shared_sme_collection)

Definition at line 174 of file test_sdk_tools.py.

Variable Documentation

◆ SHELL_ID

str tests.test_sdk_tools.SHELL_ID = "fluid40/aas_sdk_tools_unit_tests"

Definition at line 8 of file test_sdk_tools.py.

◆ SM_ID

str tests.test_sdk_tools.SM_ID = "fluid40/sm_sdk_tools_unit_tests"

Definition at line 7 of file test_sdk_tools.py.