Skip to content

Commit 9be2d19

Browse files
committed
fix(tests): Call correct dbt command in test_dbt_seed
1 parent e395eda commit 9be2d19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/hooks/dbt/test_dbt_seed.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def test_dbt_seed_task(profiles_file, dbt_project_file, seed_files):
2626

2727

2828
def test_dbt_seed_task_with_env_vars_profile(
29-
hook, profiles_file_with_env, dbt_project_file, model_files, database
29+
hook, profiles_file_with_env, dbt_project_file, seed_files, database
3030
):
3131
"""Test a dbt seed task that can render env variables in profile."""
3232
env = {
@@ -38,10 +38,10 @@ def test_dbt_seed_task_with_env_vars_profile(
3838
}
3939

4040
result = hook.run_dbt_task(
41-
"run",
41+
"seed",
4242
project_dir=dbt_project_file.parent,
4343
profiles_dir=profiles_file_with_env.parent,
44-
select=[str(m.stem) for m in model_files],
44+
select=[str(s.stem) for s in seed_files],
4545
env_vars=env,
4646
)
4747

0 commit comments

Comments
 (0)