Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DbtShellTask #2526

Merged
merged 12 commits into from
May 11, 2020
Prev Previous commit
Next Next commit
casting posixpath to str
  • Loading branch information
Mark McDonald committed May 11, 2020
commit ddff299e615eaffa74af66294565084626cbe78d
2 changes: 1 addition & 1 deletion tests/tasks/dbt/test_dbt.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_shell_creates_profiles_yml_file(tmpdir):

def test_shell_uses_dbt_envar(tmpdir, monkeypatch):
dbt_project_path = tmpdir.mkdir("dbt_project")
monkeypatch.setenv("DBT_PROFILES_DIR", dbt_project_path)
monkeypatch.setenv("DBT_PROFILES_DIR", str(dbt_project_path))
real_profiles_path = dbt_project_path.join("profiles.yml")
open(real_profiles_path, "a").close()

Expand Down