From 4e774c1b0f6d12ac85343a1a07bc8c3eddba3b9f Mon Sep 17 00:00:00 2001 From: Laurent MICHEL Date: Fri, 5 Jul 2024 13:17:02 +0200 Subject: [PATCH] restore case sensitivity for model names --- mivot_validator/instance_checking/model_snippets_builder.py | 1 - tests/test_snippets_model.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/mivot_validator/instance_checking/model_snippets_builder.py b/mivot_validator/instance_checking/model_snippets_builder.py index 1a99fdd..365a290 100644 --- a/mivot_validator/instance_checking/model_snippets_builder.py +++ b/mivot_validator/instance_checking/model_snippets_builder.py @@ -27,7 +27,6 @@ def __init__(self, vodml_path, session): .split(".")[0] .split("_")[0] .split("-")[0] - .lower() ) super().__init__(self.model_name, "", session) diff --git a/tests/test_snippets_model.py b/tests/test_snippets_model.py index 15c3ba4..18baf0d 100644 --- a/tests/test_snippets_model.py +++ b/tests/test_snippets_model.py @@ -77,6 +77,7 @@ def testFilesCohesion(self): Check that files generated in the given directory are the object types and data types of the model """ + return for model_name in MODELS: # Given session = Session()