Skip to content

Commit

Permalink
Improve test coverage when setting up a log
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Jan 27, 2025
1 parent d4e6dc2 commit a80b623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dbt/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ def test_run_command(mock_popen, stdout, returncode):
def test_run_command_success_with_log(tmp_dbt_project_dir):
project_dir = tmp_dbt_project_dir / DBT_PROJECT_NAME
(project_dir / DBT_LOG_FILENAME).touch()
response = run_command(command=["dbt", "deps"], env_vars=os.environ, tmp_dir=project_dir)
response = run_command(command=["dbt", "deps"], env_vars=os.environ, tmp_dir=project_dir, log_dir=project_dir)
assert "Installing dbt-labs/dbt_utils" in response


Expand Down

0 comments on commit a80b623

Please sign in to comment.