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

Fix Project Env Var Tests #6916

Merged
merged 8 commits into from
Feb 9, 2023
Merged

Fix Project Env Var Tests #6916

merged 8 commits into from
Feb 9, 2023

Conversation

aranke
Copy link
Member

@aranke aranke commented Feb 9, 2023

resolves #

Description

Checklist

@cla-bot cla-bot bot added the cla:yes label Feb 9, 2023
@aranke aranke changed the base branch from main to jerco/fix-test_builtin_invocation_args_dict_function February 9, 2023 01:23
@aranke aranke marked this pull request as ready for review February 9, 2023 01:23
@aranke aranke requested a review from a team as a code owner February 9, 2023 01:23
@aranke aranke changed the base branch from jerco/fix-test_builtin_invocation_args_dict_function to feature/click-cli February 9, 2023 01:25
@aranke aranke requested a review from a team February 9, 2023 01:25
@aranke aranke requested a review from a team as a code owner February 9, 2023 01:25
@aranke aranke closed this Feb 9, 2023
@aranke aranke reopened this Feb 9, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2023

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.

@aranke aranke requested a review from a team as a code owner February 9, 2023 01:45
@@ -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()
Copy link
Contributor

@MichelleArk MichelleArk Feb 9, 2023

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?

Copy link
Member Author

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.

@iknox-fa iknox-fa changed the base branch from feature/click-cli to main February 9, 2023 16:07
@iknox-fa iknox-fa changed the base branch from main to feature/click-cli February 9, 2023 16:07
Copy link
Contributor

@iknox-fa iknox-fa left a 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!

@aranke aranke merged commit 8bbae79 into feature/click-cli Feb 9, 2023
@aranke aranke deleted the fix_test_pp_vars branch February 9, 2023 16:53
@aranke aranke mentioned this pull request Feb 9, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants