From b15f8e591515f352214bb0b4303cd42bd29284e8 Mon Sep 17 00:00:00 2001 From: Devon Fulcher Date: Wed, 4 Oct 2023 11:00:13 -0500 Subject: [PATCH] fixed Dimension(...).grain(...) test --- metricflow/test/model/test_where_filter_spec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metricflow/test/model/test_where_filter_spec.py b/metricflow/test/model/test_where_filter_spec.py index 640608c987..bd28080347 100644 --- a/metricflow/test/model/test_where_filter_spec.py +++ b/metricflow/test/model/test_where_filter_spec.py @@ -41,7 +41,7 @@ def test_dimension_in_filter_with_grain( # noqa: D column_association_resolver: ColumnAssociationResolver, ) -> None: where_filter = PydanticWhereFilter( - where_sql_template="{{ Dimension('listing__country_latest').grain('WEEKLY') }} = 'US'" + where_sql_template="{{ Dimension('listing__country_latest').grain('WEEK') }} = 'US'" ) where_filter_spec = WhereSpecFactory(