From 627065dbd4c337152d355aa36f70bd6131edc59e Mon Sep 17 00:00:00 2001 From: Paul Yang Date: Mon, 6 May 2024 18:31:53 -0700 Subject: [PATCH] Move `example_project_configuration.py` to `test_helpers`. --- .../test_helpers}/example_project_configuration.py | 0 .../tests_metricflow_semantics/query/test_query_parser.py | 5 ++--- tests_metricflow/cli/test_cli.py | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) rename metricflow-semantics/{tests_metricflow_semantics/model => metricflow_semantics/test_helpers}/example_project_configuration.py (100%) diff --git a/metricflow-semantics/tests_metricflow_semantics/model/example_project_configuration.py b/metricflow-semantics/metricflow_semantics/test_helpers/example_project_configuration.py similarity index 100% rename from metricflow-semantics/tests_metricflow_semantics/model/example_project_configuration.py rename to metricflow-semantics/metricflow_semantics/test_helpers/example_project_configuration.py diff --git a/metricflow-semantics/tests_metricflow_semantics/query/test_query_parser.py b/metricflow-semantics/tests_metricflow_semantics/query/test_query_parser.py index d5f82d4927..192c493c34 100644 --- a/metricflow-semantics/tests_metricflow_semantics/query/test_query_parser.py +++ b/metricflow-semantics/tests_metricflow_semantics/query/test_query_parser.py @@ -30,11 +30,10 @@ OrderBySpec, TimeDimensionSpec, ) -from metricflow_semantics.test_helpers.metric_time_dimension import MTD - -from tests_metricflow_semantics.model.example_project_configuration import ( +from metricflow_semantics.test_helpers.example_project_configuration import ( EXAMPLE_PROJECT_CONFIGURATION_YAML_CONFIG_FILE, ) +from metricflow_semantics.test_helpers.metric_time_dimension import MTD logger = logging.getLogger(__name__) diff --git a/tests_metricflow/cli/test_cli.py b/tests_metricflow/cli/test_cli.py index 4af7d79b6a..38e2a09970 100644 --- a/tests_metricflow/cli/test_cli.py +++ b/tests_metricflow/cli/test_cli.py @@ -15,7 +15,7 @@ from dbt_semantic_interfaces.parsing.objects import YamlConfigFile from dbt_semantic_interfaces.test_utils import base_semantic_manifest_file from metricflow_semantics.test_helpers.config_helpers import MetricFlowTestConfiguration -from tests_metricflow_semantics.model.example_project_configuration import ( +from metricflow_semantics.test_helpers.example_project_configuration import ( EXAMPLE_PROJECT_CONFIGURATION_YAML_CONFIG_FILE, )