diff --git a/tests/functional/semantic_models/test_semantic_model_parsing.py b/tests/functional/semantic_models/test_semantic_model_parsing.py index c78fd82f314..0266641d75c 100644 --- a/tests/functional/semantic_models/test_semantic_model_parsing.py +++ b/tests/functional/semantic_models/test_semantic_model_parsing.py @@ -218,6 +218,9 @@ def test_semantic_model_flipping_create_metric_partial_parsing(self, project): # Verify the metric originally created by `create_metric: true` was removed assert result.result.metrics.get(generated_metric) is None + # Verify that partial parsing didn't clobber the normal metric + assert result.result.metrics.get("metric.test.simple_metric") is not None + # --- Now bring it back --- create_metric_schema_yml = schema_yml.replace( "create_metric: false", "create_metric: true"