-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Fix Project Env Var Tests #6916
Conversation
Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the contributing guide. |
@@ -334,7 +334,7 @@ def test_profile_env_vars(self, project): | |||
with pytest.raises(FailedToConnectError): | |||
run_dbt(["run"], expect_pass=False) | |||
|
|||
log_output = Path(project.project_root, "logs", "dbt.log").read_text() | |||
log_output = Path(project.logs_dir, "dbt.log").read_text() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ended up doing something very similar in my attempt to fix this but @gshank raises a really good point in this comment - why is this test is now throwing an error in click-cli when it doesn't in main?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no idea, but not sure if it's worth investigating since this is the intended behavior.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh my, so much churn for one tiny test!
This LGTM, let's ship it!
5aa9f02
to
ccb5659
Compare
resolves #
Description
Checklist
changie new
to create a changelog entry