Skip to content

Commit 7ecca7c

Browse files
committed
Fix test
1 parent a46c412 commit 7ecca7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/dbt/test_transformation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def test_dbt_custom_materialization_with_time_filter_and_macro():
164164
today = datetime.now()
165165

166166
# select both custom materialiasation models with the wildcard
167-
selector = ["sushi.custom_incremental*"]
167+
selector = ['"sushi"."custom_incremental*']
168168
plan_builder = sushi_context.plan_builder(select_models=selector, execution_time=today)
169169
plan = plan_builder.build()
170170

@@ -191,6 +191,7 @@ def test_dbt_custom_materialization_with_time_filter_and_macro():
191191

192192
# - run ONE DAY LATER
193193
a_day_later = today + timedelta(days=1)
194+
selector = ['sushi.custom_incremental*']
194195
sushi_context.run(select_models=selector, execution_time=a_day_later)
195196
result_after_run = sushi_context.engine_adapter.fetchdf(select_daily)
196197

0 commit comments

Comments
 (0)