From efe926d20c06cb84b7432237afc335e1b725a624 Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Tue, 9 Nov 2021 13:10:34 +0100 Subject: [PATCH] Change user instead of pass (#4250) --- test/integration/068_partial_parsing_tests/test_pp_vars.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/068_partial_parsing_tests/test_pp_vars.py b/test/integration/068_partial_parsing_tests/test_pp_vars.py index ae0b2f066a9..cbb3cef4d18 100644 --- a/test/integration/068_partial_parsing_tests/test_pp_vars.py +++ b/test/integration/068_partial_parsing_tests/test_pp_vars.py @@ -327,8 +327,8 @@ def test_postgres_profile_env_vars(self): manifest = get_manifest() env_vars_checksum = manifest.state_check.profile_env_vars_hash.checksum - # Change env_vars - os.environ['ENV_VAR_PASS'] = 'my_pass' + # Change env_vars, the user doesn't exist, this should fail + os.environ['ENV_VAR_USER'] = 'fake_user' (results, log_output) = self.run_dbt_and_capture(["run"], expect_pass=False) self.assertTrue('env vars used in profiles.yml have changed' in log_output) manifest = get_manifest()