File tree Expand file tree Collapse file tree 2 files changed +6
-28
lines changed
core/esmf-aspect-meta-model-python/tests/integration/java_models Expand file tree Collapse file tree 2 files changed +6
-28
lines changed Original file line number Diff line number Diff line change 4444
4545 - name : check test models
4646 run : |
47- cd core/esmf-aspect-meta-model-python/tests/integration/java_models/resources
48- ls
49- cd valid
50- ls
51- cd org.eclipse.esmf.test
47+ cd core/esmf-aspect-meta-model-python/tests/integration/java_models/resources/valid/org.eclipse.esmf.test/1.0.0
5248 ls
5349
5450 - name : run test*s
Original file line number Diff line number Diff line change @@ -155,26 +155,8 @@ def test_loading_aspects():
155155 test_models = get_aspect_test_models ()
156156 assert test_models
157157
158- check_load_aspect_model (test_models )
159- check_load_model_elements (test_models )
160-
161-
162- # def test_one_model():
163- # base_path = (
164- # "D:\\Projects\\BoschSDK\\git\\bci-oss\\esmf-sdk-py-aspect-model-loader\\core\\"
165- # "esmf-aspect-meta-model-python\\tests\\integration\\java_models\\resources\\valid\\"
166- # "org.eclipse.esmf.test.shared\\1.0.0"
167- # )
168- # model_name = "EntityWithSimpleTypes.ttl"
169- #
170- # samm_graph = SAMMGraph()
171- # samm_graph.parse(join(base_path, model_name))
172- #
173- # with open("D:\\Projects\\BoschSDK\\Tasks\\graph.txt", "w") as f:
174- # for s, p, o in samm_graph.rdf_graph:
175- # f.write(f"{s}|{p}|{o}\n")
176- #
177- # elements = samm_graph.load_model_elements()
178- #
179- # assert elements
180- # assert samm_graph.model_elements
158+ for model in test_models :
159+ assert exists (model ), f"Model { model } does not exist"
160+
161+ # check_load_aspect_model(test_models)
162+ # check_load_model_elements(test_models)
You can’t perform that action at this time.
0 commit comments