From 9562b2399e1e4bc185a352fdf68fe54d2281c62d Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 23 Apr 2024 14:14:03 -0500 Subject: [PATCH] fix tests --- tests/functional/context_methods/test_env_vars.py | 3 ++- tests/functional/context_methods/test_secret_env_vars.py | 2 +- tests/functional/partial_parsing/test_pp_vars.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/functional/context_methods/test_env_vars.py b/tests/functional/context_methods/test_env_vars.py index 33feb3b5de1..c3e08461ebc 100644 --- a/tests/functional/context_methods/test_env_vars.py +++ b/tests/functional/context_methods/test_env_vars.py @@ -1,7 +1,8 @@ import pytest import os -from dbt.constants import SECRET_ENV_PREFIX, DEFAULT_ENV_PLACEHOLDER +from dbt.constants import DEFAULT_ENV_PLACEHOLDER +from dbt_common.constants import SECRET_ENV_PREFIX from dbt.tests.util import run_dbt, get_manifest, run_dbt_and_capture diff --git a/tests/functional/context_methods/test_secret_env_vars.py b/tests/functional/context_methods/test_secret_env_vars.py index 5319857459f..94d7e1b1f31 100644 --- a/tests/functional/context_methods/test_secret_env_vars.py +++ b/tests/functional/context_methods/test_secret_env_vars.py @@ -1,7 +1,7 @@ import pytest import os -from dbt.constants import SECRET_ENV_PREFIX +from dbt_common.constants import SECRET_ENV_PREFIX from dbt.exceptions import ParsingError, DbtInternalError from tests.functional.context_methods.first_dependency import FirstDependencyProject from dbt.tests.util import run_dbt, run_dbt_and_capture, read_file diff --git a/tests/functional/partial_parsing/test_pp_vars.py b/tests/functional/partial_parsing/test_pp_vars.py index e55592f8dd2..7a2d9a16b0c 100644 --- a/tests/functional/partial_parsing/test_pp_vars.py +++ b/tests/functional/partial_parsing/test_pp_vars.py @@ -2,7 +2,7 @@ from pathlib import Path import pytest -from dbt.constants import SECRET_ENV_PREFIX +from dbt_common.constants import SECRET_ENV_PREFIX from dbt.exceptions import ParsingError from dbt.adapters.exceptions import FailedToConnectError from dbt.tests.util import get_manifest, run_dbt, run_dbt_and_capture, write_file